mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
15 lines
183 B
Go
15 lines
183 B
Go
package version
|
|
|
|
import (
|
|
_ "embed"
|
|
"strings"
|
|
)
|
|
|
|
//go:embed version
|
|
var Version string
|
|
|
|
func init() {
|
|
Version = strings.Trim(Version, "\n")
|
|
Version = strings.TrimSpace(Version)
|
|
}
|