refactor: reorganise project layout into internal packages

This commit is contained in:
Uthman Fatih 2026-11-02 01:08:22 +00:00
parent 8f3837b861
commit 0b777b40aa
4 changed files with 5 additions and 3 deletions

View File

View File

View File

@ -1,4 +1,4 @@
package main package debug
import ( import (
"fmt" "fmt"

View File

@ -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()
} }
} }