Kaynağa Gözat

Further conformed project to golang norms

arianagiroux 1 ay önce
ebeveyn
işleme
d721085491
2 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 1 1
      main.go
  2. 3 1
      pkg/src/ping.go

+ 1 - 1
main.go

@@ -1,7 +1,7 @@
 package main
 
 import (
-	"pingo/src"
+	"pingo/pkg/src"
 	"flag"
 	"fmt"
 )

+ 3 - 1
src/ping.go → pkg/src/ping.go

@@ -1,4 +1,6 @@
-// defines basic mechanics for pingstats
+// Defines a wrapper around the system ping binary.
+//
+// NOTE(os): may fail with non-unix compliant system ping binaries.
 package ping
 
 import (