Main function improved
- More explicit cli operation - Using ctx and os.Args injected for eventual later testing - Returning exit code - Cli code moved to cli package
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package healthcheck
|
||||
package cli
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
Reference in New Issue
Block a user