mirror of
https://github.com/opbnq-q/nto-cli.git
synced 2025-12-06 17:50:34 +07:00
feat: new parser & generator
This commit is contained in:
14
utils/get_models_path.go
Normal file
14
utils/get_models_path.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"log"
|
||||
"os"
|
||||
)
|
||||
|
||||
func GetModelsPath() string {
|
||||
if len(os.Args) == 1 {
|
||||
log.Fatalf("Please provide path to models.go")
|
||||
}
|
||||
|
||||
return os.Args[1]
|
||||
}
|
||||
Reference in New Issue
Block a user