Skip to content

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

app-services-go-linter

Go Report Card

Linter is used in https://github.com/redhat-developer/app-services-cli

app-services-go-linter plugin analyze source tree of Go files and validates the availability of i18n strings in *.toml files. As of right now the project created exclusively for Command Line Interface for RHOAS, however, you can adopt it for your needs by specifying the following command line options:

-path string
  Path to the directory with localization files. 
  If nothing specified, linter will try to load i18n messages from files located in pkg/localize/locales directory.

-mustLocalize string
  Name of the function that loads an i18n message. (default "MustLocalize")

-mustLocalizeError string
  Name of the function that creates new error with i18n message. (default "MustLocalizeError")

About

app-services-go-linter plugin analyze source tree of Go files and validates the availability of i18n strings in *.toml files

Topics

Resources

Stars

2 stars

Watchers

11 watching

Forks

Releases

Packages

Contributors

Languages