code-gen: reformat template for go 1.19

https://tip.golang.org/doc/go1.19#go-doc with introduction of
https://tip.golang.org/doc/comment has broken the code generator tests.
This commit is contained in:
Alex Bezzubov 2022-12-01 22:54:53 +01:00
parent 476e74d827
commit 375b301238

View File

@ -24,6 +24,7 @@ func LanguageByAlias(langOrAlias string) (lang string, ok bool) {
// Following // Following
// - internal.code-generator.generator.convertToAliasKey() // - internal.code-generator.generator.convertToAliasKey()
// - GetLanguageByAlias() // - GetLanguageByAlias()
//
// conventions. // conventions.
// It is here to avoid dependency on "generate" and "enry" packages. // It is here to avoid dependency on "generate" and "enry" packages.
func convertToAliasKey(langName string) string { func convertToAliasKey(langName string) string {