Multiple init functions are allowed per file.
Этот коммит содержится в:
родитель
3a2a357bd0
коммит
3ee0746a3c
1 изменённых файлов: 0 добавлений и 1 удалений
|
@ -19,7 +19,6 @@ func main() {
|
||||||
builtFile := fmt.Sprintf("%s/%dgodog.go", os.TempDir(), time.Now().UnixNano())
|
builtFile := fmt.Sprintf("%s/%dgodog.go", os.TempDir(), time.Now().UnixNano())
|
||||||
defer os.Remove(builtFile) // comment out for debug
|
defer os.Remove(builtFile) // comment out for debug
|
||||||
|
|
||||||
// @TODO: handle multiple init functions
|
|
||||||
buf, err := godog.Build()
|
buf, err := godog.Build()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче