config/config.go
Config
has 26 methods (exceeds 20 allowed). Consider refactoring. Open
Open
type Config struct {
RabbitMq struct {
AmqpUrl string
Host string
Username string
exported function CreateFromString should have comment or be unexported Open
Open
func CreateFromString(data string) (*Config, error) {
- Exclude checks
exported method Config.AmqpUrl should have comment or be unexported Open
Open
func (c *Config) AmqpUrl() string {
- Exclude checks
method AmqpUrl should be AmqpURL Open
Open
func (c *Config) AmqpUrl() string {
- Exclude checks
struct field AmqpUrl should be AmqpURL Open
Open
AmqpUrl string
- Exclude checks
exported type Config should have comment or be unexported Open
Open
type Config struct {
- Exclude checks