58 lines
1.6 KiB
Plaintext
58 lines
1.6 KiB
Plaintext
#file:go.mod
|
|
module {{ .PackageRoot }}
|
|
|
|
go {{ .GoVersion }}
|
|
#file:cmd/{{ .AppName }}/main.go
|
|
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
fmt.Println("{{ .AppName }}")
|
|
}
|
|
#file:internal/README.md
|
|
Private application and library code. This is the code you don't want others
|
|
importing in their applications or libraries.
|
|
#file:pkg/README.md
|
|
Public libraries that's ok to use by external applications.
|
|
#file:examples/README.md
|
|
Examples for your applications and/or public libraries.
|
|
#file:init/README.md
|
|
System init (systemd, upstart, sysv) and process manager/supervisor (runit,
|
|
supervisord) configs.
|
|
#file:docs/README.md
|
|
Design and user documents (in addition to your godoc generated documentation).
|
|
#file:configs/README.md
|
|
Configuration file templates or default configs.
|
|
|
|
Put your confd or consul-template template files here.
|
|
#file:deployments/README.md
|
|
IaaS, PaaS, system and container orchestration deployment configurations and
|
|
templates (docker-compose, kubernetes/helm, mesos, terraform, bosh).
|
|
#file:assets/README.md
|
|
Other assets to go along with your repository (images, logos, etc).
|
|
#file:api/README.md
|
|
OpenAPI/Swagger specs, JSON schema files, protocol definition files.
|
|
#file:scripts/README.md
|
|
Scripts to perform various build, install, analysis, etc operations.
|
|
|
|
These scripts keep the root level Makefile small and simple.
|
|
#file:.gitignore
|
|
# Mac OS X files
|
|
.DS_Store
|
|
|
|
# Binaries for programs and plugins
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Test binary, build with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
|
*.out
|
|
#file:README.md
|
|
# {{ .AppName }}
|