mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-05 00:50:21 +00:00
🎨 build version
This commit is contained in:
1 parent
652ecc248b
commit
fc1e15bf31
3 files changed
+9
-4
No files matched your search
@@ -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