From 2f87ad1588f156465aa99543762e1c07022e8256 Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Fri, 26 Apr 2019 13:59:48 +0200 Subject: [PATCH] Make package importable --- external_coachsequence.go | 2 +- external_station.go | 2 +- external_timetable.go | 2 +- external_wings.go | 2 +- model_coachsequence.go | 2 +- model_coachtypeinfo.go | 2 +- model_station.go | 2 +- model_timetable.go | 2 +- model_wings.go | 2 +- roundtrip_test.go | 2 +- types_util.go | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/external_coachsequence.go b/external_coachsequence.go index 564ceb4..811546c 100644 --- a/external_coachsequence.go +++ b/external_coachsequence.go @@ -1,4 +1,4 @@ -package main +package bahn import ( "encoding/json" diff --git a/external_station.go b/external_station.go index c9cb5f9..9e1c571 100644 --- a/external_station.go +++ b/external_station.go @@ -1,4 +1,4 @@ -package main +package bahn import "encoding/xml" diff --git a/external_timetable.go b/external_timetable.go index 7b6403f..be4f0b2 100644 --- a/external_timetable.go +++ b/external_timetable.go @@ -1,4 +1,4 @@ -package main +package bahn import ( "encoding/xml" diff --git a/external_wings.go b/external_wings.go index 182e6ca..32afccf 100644 --- a/external_wings.go +++ b/external_wings.go @@ -1,4 +1,4 @@ -package main +package bahn import "encoding/xml" diff --git a/model_coachsequence.go b/model_coachsequence.go index e8d53af..d8efcff 100644 --- a/model_coachsequence.go +++ b/model_coachsequence.go @@ -1,4 +1,4 @@ -package main +package bahn import "time" diff --git a/model_coachtypeinfo.go b/model_coachtypeinfo.go index 11abcb2..2e1284f 100644 --- a/model_coachtypeinfo.go +++ b/model_coachtypeinfo.go @@ -1,4 +1,4 @@ -package main +package bahn type CoachTypeInfo struct { RawType string `json:"raw_type"yaml:"raw_type"` diff --git a/model_station.go b/model_station.go index 2ea1b78..7fcf5d9 100644 --- a/model_station.go +++ b/model_station.go @@ -1,4 +1,4 @@ -package main +package bahn import "time" diff --git a/model_timetable.go b/model_timetable.go index 4d874b4..19e8ee5 100644 --- a/model_timetable.go +++ b/model_timetable.go @@ -1,4 +1,4 @@ -package main +package bahn import "time" diff --git a/model_wings.go b/model_wings.go index c49a960..d971502 100644 --- a/model_wings.go +++ b/model_wings.go @@ -1,4 +1,4 @@ -package main +package bahn type WingDefinition struct { Start WingDefinitionElement `json:"start"yaml:"start"` diff --git a/roundtrip_test.go b/roundtrip_test.go index 9a98d63..5675f9c 100644 --- a/roundtrip_test.go +++ b/roundtrip_test.go @@ -1,4 +1,4 @@ -package main +package bahn import ( "bufio" diff --git a/types_util.go b/types_util.go index 4cde786..de857c0 100644 --- a/types_util.go +++ b/types_util.go @@ -1,4 +1,4 @@ -package main +package bahn import ( "encoding/json" -- GitLab