mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
🎨 build version
This commit is contained in:
@@ -28,6 +28,12 @@ var ServerLock sync.RWMutex
|
||||
// Version ..
|
||||
var Version = "debug"
|
||||
|
||||
func init() {
|
||||
if len(Version) > 7 {
|
||||
Version = Version[:7]
|
||||
}
|
||||
}
|
||||
|
||||
// SendCommand ..
|
||||
func SendCommand(cmd *pb.Command) {
|
||||
ServerLock.RLock()
|
||||
|
||||
Reference in New Issue
Block a user