Multiple init functions are allowed per file.

Этот коммит содержится в:
Algirdas Matas 2015-06-15 11:00:40 +03:00
родитель 3a2a357bd0
коммит 3ee0746a3c

Просмотреть файл

@ -19,7 +19,6 @@ func main() {
builtFile := fmt.Sprintf("%s/%dgodog.go", os.TempDir(), time.Now().UnixNano())
defer os.Remove(builtFile) // comment out for debug
// @TODO: handle multiple init functions
buf, err := godog.Build()
if err != nil {
panic(err)