gobag

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

GoBag

A collection of general, yet useful, command-line tools written in Go. Some tools include:

  • Web scraper
  • Network scanner (Coming Soon)
  • Packet sniffer (Coming Soon)
  • Ping utility (Coming Soon)

Built With

  • Cobra - A library for creating powerful modern CLI applications.
  • Colly - A Lightning Fast and Elegant Scraping Framework for Gophers.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

While there are a multitude of ways you can go about spinning up a development environment, we recommend using the pre-configured docker/devcontainers environment.

  • Docker - Build, share, run, and verify applications anywhere.
  • VS Code - General-purpose, extensible, code-editor.
  • Devcontainers (VS Code Extension) - Lets you use a Docker container as a full-featured development environment.
    • More information about Devcontainers can be found here.
Installing
  1. First, define the required environment variables by creating a .env file from the provided template:

    cp .env{.dist,}
    

    Update the environment variables with the values relevant to your use-case.

  2. Next, spin up your devcontainer. This can be done from VS Code's Command Palette (Dev Containers: Rebuild).

Testing

TBD

Releasing

This project uses goreleaser for release management. The high-level release strategy is:

  1. Code up your changes
  2. Submit changes as a pull request against the main branch
  3. Merge pull request to main
  4. Tag the main branch with a version (follow SemVer; e.g. v1.2.3)
  5. Run goreleaser release --clean to generate a new release with checksums and executables

In the future, this will be automated with CI/CD.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址