首次提交

This commit is contained in:
2025-10-14 17:18:21 +08:00
commit f0155d1e63
54 changed files with 1956 additions and 0 deletions

24
hack/config.yaml Normal file
View File

@@ -0,0 +1,24 @@
# CLI tool, only in development environment.
# https://goframe.org/docs/cli
gfcli:
build:
name: "p2p"
arch: "amd64"
system: "windows,linux"
mod: "none"
packSrc: "resource,manifest"
version: "v1.0.0"
# output: "./bin/"
# cgo: true
extra: -trimpath -ldflags="-s -w"
dumpEnv: true
gen:
dao:
- link: "mysql:root:12345678@tcp(127.0.0.1:3306)/test"
descriptionTag: true
docker:
build: "-a amd64 -s linux -p temp -ew"
tagPrefixes:
- my.image.pub/my-app