feat: hide implement models from select

This commit is contained in:
2025-03-08 21:37:49 +07:00
parent e694fce7c7
commit fb59bf979c
6 changed files with 40 additions and 9 deletions

View File

@@ -7,8 +7,8 @@ import (
"strings"
)
func GetStructList(filePath string) []string {
file, err := os.Open(filePath)
func GetStructsList(modelsFilePath string) []string {
file, err := os.Open(modelsFilePath)
defer file.Close()
if err != nil {
log.Fatalf("Failed to open a file: %s", err)