Now that the project has been scaffolded, take the following steps to start working on it:
-
Update the repository and import path
Update all references to the placeholder repository path (abhinav/go-library) and import path (go.abhg.dev/library) to the actual import path of your project.
REPOSITORY_PATH="..." # e.g. "abhinav/foo-go" IMPORT_PATH="..." # e.g. "go.abhg.dev/foo" git ls-files | xargs perl -p -i \ -e "s{go.abhg.dev/library}{$IMPORT_PATH}g; \ s{abhinav/go-library}{$REPOSITORY_PATH}g"
-
Update the package name
doc.go is the only file where the package name is defined. Update it.
-
Delete this file
git rm doc/next-steps.md
-
Write documentation
When you're ready, update doc/README.md and accompanying files.
library is a Go library that does things.
Install the latest release with Go modules:
go get go.abhg.dev/library@latestTo use library, import it:
import "go.abhg.dev/library"Then do stuff with it.
This software is made available under the BSD-3 license. See LICENSE for the full license text.