detect dependencies from golang files

This commit is contained in:
Alan Hamlett 2016-01-02 19:35:52 -08:00
parent caafe3dcb6
commit 23dc803446
3 changed files with 157 additions and 0 deletions

View file

@ -0,0 +1,24 @@
package main
// list every possible way of importing to try and break dependency detection
// http://learngowith.me/alternate-ways-of-importing-packages/
import "fmt"
import "compress/gzip"
import "github.com/golang/example/stringutil"
import (
"log"
"os"
)
import newname "oldname"
import . "direct"
import _ "supress"
import (
"foobar"
. "math"
_ "image/gif"
)
func main() {
fmt.Println("Hello, World!")
}