From 24f693965ea341ecbd7d21306eb9b5cce6f5665a Mon Sep 17 00:00:00 2001 From: John Beisley Date: Sat, 7 Jun 2014 20:29:41 +0100 Subject: [PATCH] Add warning not to edit generated files by hand. --- dcps/internetgateway1/internetgateway1.go | 2 ++ dcps/internetgateway2/internetgateway2.go | 2 ++ gotasks/specgen_task.go | 3 +++ 3 files changed, 7 insertions(+) diff --git a/dcps/internetgateway1/internetgateway1.go b/dcps/internetgateway1/internetgateway1.go index d6d5b2e..65b011d 100644 --- a/dcps/internetgateway1/internetgateway1.go +++ b/dcps/internetgateway1/internetgateway1.go @@ -1,5 +1,7 @@ package internetgateway1 +// Generated file - do not edit by hand. See README.md + import ( "time" diff --git a/dcps/internetgateway2/internetgateway2.go b/dcps/internetgateway2/internetgateway2.go index 3908ba0..757e714 100644 --- a/dcps/internetgateway2/internetgateway2.go +++ b/dcps/internetgateway2/internetgateway2.go @@ -1,5 +1,7 @@ package internetgateway2 +// Generated file - do not edit by hand. See README.md + import ( "time" diff --git a/gotasks/specgen_task.go b/gotasks/specgen_task.go index 2115f80..d7ddba9 100644 --- a/gotasks/specgen_task.go +++ b/gotasks/specgen_task.go @@ -423,6 +423,9 @@ var packageTmpl = template.Must(template.New("package").Parse(`{{$name := .Metad package {{$name}} +// Generated file - do not edit by hand. See README.md + + import ( "time"