loader/jsonconfig/config.go
Method Config.Translate
has 61 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (c *Config) Translate(parent *config.Config) (*config.Config, error) {
extends, err := util.UnmarshalStringList(c.Extends)
if err != nil {
return nil, err
}
Method Config.Translate
has 10 return statements (exceeds 4 allowed). Open
Open
func (c *Config) Translate(parent *config.Config) (*config.Config, error) {
extends, err := util.UnmarshalStringList(c.Extends)
if err != nil {
return nil, err
}
exported method Config.Translate should have comment or be unexported Open
Open
func (c *Config) Translate(parent *config.Config) (*config.Config, error) {
- Exclude checks
exported type Options should have comment or be unexported Open
Open
Options struct {
- Exclude checks
exported method Options.Translate should have comment or be unexported Open
Open
func (c *Options) Translate() (*config.Options, error) {
- Exclude checks
exported type Config should have comment or be unexported Open
Open
Config struct {
- Exclude checks
exported method ExportFileList.Translate should have comment or be unexported Open
Open
func (l *ExportFileList) Translate() (*config.ExportFileList, error) {
- Exclude checks
exported type ExportFileList should have comment or be unexported Open
Open
ExportFileList struct {
- Exclude checks
exported method ImportFileList.Translate should have comment or be unexported Open
Open
func (l *ImportFileList) Translate() (*config.ImportFileList, error) {
- Exclude checks
exported type ImportFileList should have comment or be unexported Open
Open
ImportFileList struct {
- Exclude checks