mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
feat: add version command
This commit is contained in:
parent
4239a89d66
commit
f213bdf7d6
5 changed files with 100 additions and 0 deletions
2
main.go
2
main.go
|
@ -20,6 +20,8 @@ import (
|
|||
cSettings "github.com/uozi-tech/cosy/settings"
|
||||
)
|
||||
|
||||
//go:generate go run cmd/version/generate.go
|
||||
|
||||
func Program(confPath string) func(state overseer.State) {
|
||||
return func(state overseer.State) {
|
||||
defer logger.Sync()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue