Documentation ¶
Index ¶
Constants ¶
View Source
const BufGenYaml = `` /* 202-byte string literal not displayed */
View Source
const BufMake = `` /* 283-byte string literal not displayed */
View Source
const BufYaml = `version: v1
breaking:
use:
- FILE
lint:
use:
- DEFAULT`
View Source
const DockerCompose = `` /* 180-byte string literal not displayed */
View Source
const Dockerfile = `FROM golang:1.19.1
WORKDIR /
COPY . .
RUN go install .
ENTRYPOINT ["%s"]`
View Source
const GolangCiYml = `` /* 11751-byte string literal not displayed */
View Source
const GooseMigrations = `` /* 206-byte string literal not displayed */
View Source
const GrpcProto = `` /* 280-byte string literal not displayed */
View Source
const NatsWrapperGo = `` /* 1409-byte string literal not displayed */
View Source
const PostgresGo = `` /* 1467-byte string literal not displayed */
View Source
const RedisGo = `` /* 651-byte string literal not displayed */
View Source
const SqlcMakefile = `
sqlc:
docker run --rm -it -v ${pwd}:/wd -w /wd dancheg97.ru/dancheg97/gen-tools:latest sqlc generate
`
View Source
const SqlcSql = `-- name: SelectSomething :one
SELECT * FROM users WHERE id = $1;
`
View Source
const SqlcYaml = `` /* 198-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func GenerateBuf ¶
func GenerateBuf()
func GenerateGoCliTemplate ¶
func GenerateGoCliTemplate(repo string)
func GenerateGoDocker ¶
func GenerateGoDocker(name string)
func GenerateGolangCi ¶
func GenerateGolangCi()
func GenerateNats ¶
func GenerateNats(repo string)
func GenerateRedis ¶
func GenerateRedis()
func GenerateSqlc ¶
func GenerateSqlc(repo string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.