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"
2022-10-26 20:49:29 +08:00
Version = "v1.3.0"
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
}