mirror of
https://github.com/nitezs/sub2sing-box.git
synced 2024-12-23 21:04:41 -05:00
20 lines
217 B
Go
20 lines
217 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"sub2sing-box/cmd"
|
|
)
|
|
|
|
var Version string
|
|
|
|
func init() {
|
|
Version = "dev"
|
|
cmd.SetVersion(Version)
|
|
}
|
|
|
|
func main() {
|
|
if err := cmd.RootCmd.Execute(); err != nil {
|
|
fmt.Println(err)
|
|
}
|
|
}
|