Browse Source

gofmt

pull/2623/head
Agioi Theodoroi 5 years ago committed by Kslr
parent
commit
744fca3845
No known key found for this signature in database
GPG Key ID: AF5F66FA1E887CE
  1. 6
      main/main.go

6
main/main.go

@ -28,9 +28,9 @@ var (
test = flag.Bool("test", false, "Test config file only, without launching V2Ray server.") test = flag.Bool("test", false, "Test config file only, without launching V2Ray server.")
format = flag.String("format", "json", "Format of input file.") format = flag.String("format", "json", "Format of input file.")
/* We have to do this here because Golang's Test will also need to parse flag, before /* We have to do this here because Golang's Test will also need to parse flag, before
main func in this file is run. * main func in this file is run.
*/ */
_ = func() error { _ = func() error {
flag.Var(&configFiles, "config", "Config file for V2Ray. Multiple assign is accepted (only json). Latter ones overrides the former ones.") flag.Var(&configFiles, "config", "Config file for V2Ray. Multiple assign is accepted (only json). Latter ones overrides the former ones.")

Loading…
Cancel
Save