Browse Source

Removed unnecessary function

main 1.3.1
Unbewohnte 3 years ago
parent
commit
a0780a1a5d
  1. 12
      main.go

12
main.go

@ -25,8 +25,10 @@ var (
LicenseText string
)
// Input-validation
func validateFlags() {
// parse flags, validate given values
func init() {
flag.Parse()
if *LICENSE {
fmt.Println(LicenseText)
os.Exit(0)
@ -58,12 +60,6 @@ func validateFlags() {
}
}
// parse flags, validate given values
func init() {
flag.Parse()
validateFlags()
}
func main() {
if SENDING {
// 1) create sender -> 2) wait for a connection ->|

Loading…
Cancel
Save