ZhangZhihui's Blog  

2024年11月29日

摘要: zzh@ZZHPC:/zdata/Github/greenlight$ go install honnef.co/go/tools/cmd/staticcheck no required module provides package honnef.co/go/tools/cmd/staticche 阅读全文
posted @ 2024-11-29 18:49 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0) 编辑
 
摘要: Makefile: ## help: print this help message help: @echo 'Usage:' @sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' | sed -e 's/^/ /' confirm: @ech 阅读全文
posted @ 2024-11-29 17:58 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0) 编辑
 
摘要: $ make migration name=create_example_table run: go run ./cmd/api psql: psql ${GREENLIGHT_DB_DSN} migration: @echo 'Creating migration files for ${name 阅读全文
posted @ 2024-11-29 17:02 ZhangZhihuiAAA 阅读(2) 评论(0) 推荐(0) 编辑