system/service_init.go
exported method ServiceInit.Enabled should have comment or be unexported Open
Open
func (s *ServiceInit) Enabled() (bool, error) {
- Exclude checks
exported function NewServiceInit should have comment or be unexported Open
Open
func NewServiceInit(service string, system *System, config util.Config) Service {
- 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.Service should have comment or be unexported Open
Open
func (s *ServiceInit) Service() string {
- Exclude checks
exported type ServiceInit should have comment or be unexported Open
Open
type ServiceInit struct {
- Exclude checks
exported function NewAlpineServiceInit should have comment or be unexported Open
Open
func NewAlpineServiceInit(service string, system *System, config util.Config) Service {
- Exclude checks
exported method ServiceInit.Running should have comment or be unexported Open
Open
func (s *ServiceInit) Running() (bool, error) {
- Exclude checks
exported method ServiceInit.Exists should have comment or be unexported Open
Open
func (s *ServiceInit) Exists() (bool, error) {
- Exclude checks