1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-24 12:34:43 -05:00
sub2sing-box/main.go

20 lines
217 B
Go
Raw Normal View History

2024-03-10 15:13:42 -04:00
package main
import (
"fmt"
"sub2sing-box/cmd"
)
2024-03-12 12:11:34 -04:00
var Version string
func init() {
Version = "dev"
cmd.SetVersion(Version)
}
2024-03-10 15:13:42 -04:00
func main() {
2024-03-11 05:31:29 -04:00
if err := cmd.RootCmd.Execute(); err != nil {
2024-03-10 15:13:42 -04:00
fmt.Println(err)
}
}