diff --git a/generate.go b/generate.go index 2e9ca53e..94eac94e 100644 --- a/generate.go +++ b/generate.go @@ -109,7 +109,9 @@ func Generate(opts GenerateOptions) (mErr error) { if opts.Acronyms == nil { opts.Acronyms = make(map[string]string, 1) } - opts.Acronyms["id"] = "ID" + if _, ok := opts.Acronyms["id"]; !ok { + opts.Acronyms["id"] = "ID" + } switch opts.Language { case LangGo: goOpts := golang.GenerateOptions{