Showing 439 of 439 total issues
exported method DefUser.UID should have comment or be unexported Open
Open
func (u *DefUser) UID() (int, error) {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
exported method ServiceInit.Running should have comment or be unexported Open
Open
func (s *ServiceInit) Running() (bool, error) {
- Exclude checks
exported method ServiceSystemd.Enabled should have comment or be unexported Open
Open
func (s *ServiceSystemd) Enabled() (bool, error) {
- Exclude checks
exported method System.Ports should have comment or be unexported Open
Open
func (s *System) Ports() map[string][]GOnetstat.Process {
- Exclude checks
exported type Command should have comment or be unexported Open
Open
type Command struct {
- Exclude checks
exported const JSON should have comment (or a comment on this block) or be unexported Open
Open
JSON format = "json"
- Exclude checks
should omit 2nd value from range; this loop is equivalent to for k := range ...
Open
Open
for k, _ := range v {
- Exclude checks
exported function NewDefHTTP should have comment or be unexported Open
Open
func NewDefHTTP(httpStr string, system *System, config util.Config) HTTP {
- Exclude checks
exported function HeaderToArray should have comment or be unexported Open
Open
func HeaderToArray(header http.Header) (res []string) {
- Exclude checks
exported method AlpinePackage.Installed should have comment or be unexported Open
Open
func (p *AlpinePackage) Installed() (bool, error) {
- Exclude checks
exported function NewDefPort should have comment or be unexported Open
Open
func NewDefPort(port string, system *System, config util.Config) Port {
- Exclude checks
exported function NewDefProcess should have comment or be unexported Open
Open
func NewDefProcess(executable string, system *System, config util.Config) (Process, error) {
- Exclude checks
exported method ServiceUpstart.Running should have comment or be unexported Open
Open
func (s *ServiceUpstart) Running() (bool, error) {
- Exclude checks
exported function NewDefUser should have comment or be unexported Open
Open
func NewDefUser(username string, system *System, config util.Config) User {
- Exclude checks
exported method DefGroup.Groupname should have comment or be unexported Open
Open
func (u *DefGroup) Groupname() string {
- Exclude checks
exported type HTTP should have comment or be unexported Open
Open
type HTTP interface {
- Exclude checks
exported method DefInterface.Addrs should have comment or be unexported Open
Open
func (i *DefInterface) Addrs() ([]string, error) {
- Exclude checks
exported method DefKernelParam.ID should have comment or be unexported Open
Open
func (k *DefKernelParam) ID() string {
- Exclude checks
exported method DefKernelParam.Key should have comment or be unexported Open
Open
func (k *DefKernelParam) Key() string {
- Exclude checks