refactor: reorganise project layout into internal packages
This commit is contained in:
parent
8f3837b861
commit
0b777b40aa
@ -1,4 +1,4 @@
|
||||
package main
|
||||
package debug
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@ -3,6 +3,8 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
flag "github.com/spf13/pflag"
|
||||
|
||||
"git.uthmn.com/boiabba/anical/internal/debug"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@ -20,7 +22,7 @@ func main() {
|
||||
flag.Parse()
|
||||
if *debugFlag {
|
||||
fmt.Println("Debug mode enabled")
|
||||
GetInfo()
|
||||
debug.GetInfo()
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user