gommons

module
v0.0.0-...-6976b54 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: 0BSD, Apache-2.0, MIT, + 1 more

README

cmdbox

Please specify a valid subcommand, choices are:

        bash-completion Generate and output a bash completion-script.
        choose-file     Choose a file, interactively.
        choose-stdin    Choose an item from STDIN, interactively.
        chronic         Run a command quietly, if it succeeds.
        commands        Show all available sub-commands.
        gen-ca          generate a root ca key and certificate.
        gen-key         generate keys in pem format.
        gen-pass        Generate a random password and passwd/xcrypt hashes.
        help            Show usage information.
        template        Populate a template-file.
        version         print version info
        xlua            extended lua environment

gommons

gommons is an opinionated collection of common Go libraries and utilities for building applications the pragmatic way. The name is a play on Go and commons—because every project eventually grows the same set of well-tested building blocks.

Versioning

gommons does not follow Semantic Versioning (SemVer). Instead, releases use a date-based versioning scheme:

YYYY.MM.N

Where:

  • YYYY — four-digit release year
  • MM — two-digit release month
  • N — incremental release number within that month

For example:

2026.07.1
2026.07.2
2026.08.1

This scheme reflects the project's release cadence rather than attempting to encode compatibility guarantees into the version number. Breaking changes, new features, and bug fixes are documented in the release notes, making each release self-describing without relying on SemVer semantics.

Directories

Path Synopsis
cmd
cmdbox command
pkg
stemplate
Package templatedcmd allows expanding command-lines via a simple template-expansion process.
Package templatedcmd allows expanding command-lines via a simple template-expansion process.
utfbom
Package utfbom implements the detection of the BOM (Unicode Byte Order Mark) and removing as necessary.
Package utfbom implements the detection of the BOM (Unicode Byte Order Mark) and removing as necessary.
xdg
xfs
xtui/chooseui
Package chooseui presents a simple console-based UI.
Package chooseui presents a simple console-based UI.

Jump to

Keyboard shortcuts

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