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 (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
@ -3,6 +3,8 @@ package main
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
flag "github.com/spf13/pflag"
|
flag "github.com/spf13/pflag"
|
||||||
|
|
||||||
|
"git.uthmn.com/boiabba/anical/internal/debug"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@ -20,8 +22,8 @@ func main() {
|
|||||||
flag.Parse()
|
flag.Parse()
|
||||||
if *debugFlag {
|
if *debugFlag {
|
||||||
fmt.Println("Debug mode enabled")
|
fmt.Println("Debug mode enabled")
|
||||||
GetInfo()
|
debug.GetInfo()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user