Skip to content

cjtoolkit/gobox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gobox

Tool manager for use with go generate.

Installation

$ go get github.com/cjtoolkit/gobox

Using gobox

Create gobox.toml in the root of the project, with the example below.

[[local]]
binPath = "tools"
install = "."

[[module]]
repo = "github.com/cjtoolkit/embedder"
tag = "v1.0.0"
binPath = "tools"
installs = [
	"."
]

On top of the go source file add on top. This is just an example

//go:generate gobox tools/embedder internal generated_const.go resources/*

If the tools are not installed it, will install automatically.

Note

It was designed for use in a development environment and is not intended to be used in production or deployment environment. It's meant to install tools for the developers to use with go generate.

About

Tool manager for use with go generate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages