mirror of
https://github.com/opbnq-q/nto-cli.git
synced 2025-12-06 18:40:34 +07:00
feat: hide implement models from select
This commit is contained in:
11
utils/get_not_implemented_structs.go
Normal file
11
utils/get_not_implemented_structs.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package utils
|
||||
|
||||
func GetNotImplementedStructs(modelsFilePath string) []string {
|
||||
var models []string
|
||||
for _, model := range GetStructsList(modelsFilePath) {
|
||||
if !IsEntityImplemented(model) {
|
||||
models = append(models, model)
|
||||
}
|
||||
}
|
||||
return models
|
||||
}
|
||||
Reference in New Issue
Block a user