From 5612f15851d9ad6f9192857c9a68726351abfece Mon Sep 17 00:00:00 2001 From: Eric Wilson Date: Thu, 30 Aug 2018 14:18:28 -0400 Subject: [PATCH] Update comment so generated files can be automatically recognized as such --- example/shirtsize_jsonenums.go | 2 +- example/weekday_jsonenums.go | 2 +- template.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/shirtsize_jsonenums.go b/example/shirtsize_jsonenums.go index d50c71a..dcc934e 100644 --- a/example/shirtsize_jsonenums.go +++ b/example/shirtsize_jsonenums.go @@ -1,4 +1,4 @@ -// generated by jsonenums -type=ShirtSize; DO NOT EDIT +// Code generated by jsonenums -type=ShirtSize; DO NOT EDIT. package main diff --git a/example/weekday_jsonenums.go b/example/weekday_jsonenums.go index a97dd11..013be2c 100644 --- a/example/weekday_jsonenums.go +++ b/example/weekday_jsonenums.go @@ -1,4 +1,4 @@ -// generated by jsonenums -type=WeekDay; DO NOT EDIT +// Code generated by jsonenums -type=WeekDay; DO NOT EDIT. package main diff --git a/template.go b/template.go index 332c2a3..041c942 100644 --- a/template.go +++ b/template.go @@ -18,7 +18,7 @@ package main import "text/template" var generatedTmpl = template.Must(template.New("generated").Parse(` -// generated by jsonenums {{.Command}}; DO NOT EDIT +// Code generated by jsonenums {{.Command}}; DO NOT EDIT. package {{.PackageName}}