You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as you can see, try to run with using -h make panic and exit! same result when try to run without any argument!
➜ wit git:(master) sudo ./wit -h
2019/01/20 13:13:22 No cert dir specified! making `cert` dir and key and cert file!
2019/01/20 13:13:22 `server.key` or `server.cert` is not present in cert dir!
2019/01/20 13:13:23 wrote server.crt
2019/01/20 13:13:23 wrote server.key
**panic:** could not build arguments for function "main".main.func1 (/home/sadeq/golang/src/github.com/hbahadorzadeh/wit/wit.go:51): failed to build *service.WebService: could not build arguments for function "main".BuildContainer.func4 (/home/sadeq/golang/src/github.com/hbahadorzadeh/wit/wit.go:34): failed to build *ipset.IPSet: missing dependencies for function "main".BuildContainer.func3 (/home/sadeq/golang/src/github.com/hbahadorzadeh/wit/wit.go:29): type service.IpTables is not in the container, did you mean to use *service.IpTables?
goroutine 1 [running]:
main.main()
/home/sadeq/golang/src/github.com/hbahadorzadeh/wit/wit.go:56 +0x1ff
➜ wit git:(master)
The text was updated successfully, but these errors were encountered:
as you can see, try to run with using -h make panic and exit! same result when try to run without any argument!
The text was updated successfully, but these errors were encountered: