Skip to content

Commit

Permalink
Inclui a lib kardianos/service
Browse files Browse the repository at this point in the history
  • Loading branch information
armando-couto committed Mar 26, 2023
1 parent 1bab574 commit 9f2448b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
type program struct{}

func (p program) Start(s service.Service) error {
fmt.Println(s.String() + " started")
fmt.Println(s.String() + " Rodando!")
return nil
}

func (p program) Stop(s service.Service) error {
fmt.Println(s.String() + " stopped")
fmt.Println(s.String() + " Parado!")
return nil
}

Expand Down

0 comments on commit 9f2448b

Please sign in to comment.