ernesto-jimenez / gogen

A set of go packages and command line tools to generate Go code
MIT License
95 stars 14 forks source link

use filepath.SplitList #6

Open matryer opened 7 years ago

matryer commented 7 years ago

strings.Split(os.Getenv("GOPATH"), ":") should be filepath.SplitList(os.Getenv("GOPATH")) to make it OS independent.