ultone/.nfctl
2024-07-11 16:37:26 +08:00

28 lines
402 B
Plaintext

# nfctl init script
# https://github.com/loveuer/nf/nft/nfctl
# 替换 import
!replace content
suffix *.go
ultone => {{.PROJECT_NAME}}
EOF
# 替换 go module name
!replace content
exact go.mod
module ultone => module {{.PROJECT_NAME}}
EOF
# 生成 readme
!generate
readme.md
# {{.PROJECT_NAME}}
### Run
- `go run . --help`
- `go run .`
### Build
- `docker build -t {repo:tag} -f Dockerfile .`
EOF