Files
mayfly-go/server/pkg/config/app.go

13 lines
162 B
Go
Raw Normal View History

2021-04-16 15:10:07 +08:00
package config
import "fmt"
2022-08-10 19:46:17 +08:00
const (
AppName = "mayfly-go"
2023-08-28 17:25:59 +08:00
Version = "v1.5.1"
2022-08-10 19:46:17 +08:00
)
2021-04-16 15:10:07 +08:00
2022-08-10 19:46:17 +08:00
func GetAppInfo() string {
return fmt.Sprintf("[%s:%s]", AppName, Version)
2021-04-16 15:10:07 +08:00
}