Showing 439 of 439 total issues
exported method DefHTTP.SetAllowInsecure should have comment or be unexported Open
Open
func (u *DefHTTP) SetAllowInsecure(t bool) {
- Exclude checks
exported type RpmPackage should have comment or be unexported Open
Open
type RpmPackage struct {
- Exclude checks
exported type PacmanPackage should have comment or be unexported Open
Open
type PacmanPackage struct {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
receiver name sys should be consistent with previous receiver name s for System Open
Open
func (sys *System) detectService() {
- Exclude checks
exported type ServiceSystemd should have comment or be unexported Open
Open
type ServiceSystemd struct {
- 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 method ServiceUpstart.Service should have comment or be unexported Open
Open
func (s *ServiceUpstart) Service() string {
- Exclude checks
exported type System should have comment or be unexported Open
Open
type System struct {
- Exclude checks
receiver name sys should be consistent with previous receiver name s for System Open
Open
func (sys *System) detectPackage(p string) {
- Exclude checks
exported method AlpinePackage.Exists should have comment or be unexported Open
Open
func (p *AlpinePackage) Exists() (bool, error) { return p.Installed() }
- Exclude checks
exported method DefUser.UID should have comment or be unexported Open
Open
func (u *DefUser) UID() (int, error) {
- Exclude checks
comment on exported function GetPorts should be of the form "GetPorts ..." Open
Open
// FIXME: Is there a better way to do this rather than ignoring errors?
- Exclude checks
exported type Config should have comment or be unexported Open
Open
type Config struct {
- Exclude checks
exported type Service should have comment or be unexported Open
Open
type Service interface {
- Exclude checks
exported function ValidateSections should have comment or be unexported Open
Open
func ValidateSections(unmarshal func(interface{}) error, i interface{}, whitelist map[string]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 ServiceUpstart.Exists should have comment or be unexported Open
Open
func (s *ServiceUpstart) Exists() (bool, error) {
- Exclude checks
exported method DefHTTP.Headers should have comment or be unexported Open
Open
func (u *DefHTTP) Headers() (io.Reader, error) {
- Exclude checks
exported type DefInterface should have comment or be unexported Open
Open
type DefInterface struct {
- Exclude checks