mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-09-20 07:21:22 +00:00
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:
parent
476e74d827
commit
375b301238
@ -22,8 +22,9 @@ func LanguageByAlias(langOrAlias string) (lang string, ok bool) {
|
|||||||
|
|
||||||
// convertToAliasKey converts language name to a key in LanguageByAliasMap.
|
// convertToAliasKey converts language name to a key in LanguageByAliasMap.
|
||||||
// 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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user