- Create a folder on root directory of this repository with the name of your new module
- Enter the newly created directory and execute:
$ go mod init github.com/facily-tech/go-core/MODULE-NAME
- Put your module code inside the subdirectory you just created
- Create a README.md describing how to use the module
Tags should be created only in the main branch!
$ git tag -a MODULE-NAME/v0.1.0
$ git push --tags
go get github.com/facily-tech/go-core/MODULE-NAME
Crate a link to .golanci.yml from project root folder to our subproject. Something like this:
cd MY_REPO_ROCKS
ln -s ../.golangci.yml .