rambler-oss/keyreader

View on GitHub

Showing 28 of 28 total issues

comment on exported type ConfigBase should be of the form "ConfigBase ..." (with optional leading article)
Open

// Config file struct
Severity: Minor
Found in config.go by golint

exported type ConfigVer should have comment or be unexported
Open

type ConfigVer struct {
Severity: Minor
Found in config.go by golint

exported method ConfigBase.GetLdapUsers should have comment or be unexported
Open

func (c *ConfigBase) GetLdapUsers() string {
Severity: Minor
Found in config.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build linux
Severity: Minor
Found in config_linux.go by gofmt

exported type ConfigV3 should have comment or be unexported
Open

type ConfigV3 struct {
Severity: Minor
Found in config_v3.go by golint

Line length
Open

* Support NIS netgroups in accessTo attributes with sudo-compatible syntax, netgroups are distinguished by prepending 'plus' sign
Severity: Info
Found in README.md by markdownlint

MD013 - Line length

Tags: line_length

Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)

This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.

This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.

You also have the option to exclude this rule for code blocks and tables. To do this, set the code_blocks and/or tables parameters to false.

Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.

exported method ConfigBase.GetLdapStartTLS should have comment or be unexported
Open

func (c *ConfigBase) GetLdapStartTLS() bool {
Severity: Minor
Found in config.go by golint

exported method ConfigV3.GetHostnames should have comment or be unexported
Open

func (c *ConfigV3) GetHostnames() []string {
Severity: Minor
Found in config_v3.go by golint
Severity
Category
Status
Source
Language