summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--].gitignore0
-rwxr-xr-x[-rw-r--r--]DAL/DB/CRUD.go2
-rwxr-xr-x[-rw-r--r--]DAL/DB/CRUD_test.go0
-rwxr-xr-x[-rw-r--r--]DAL/go.mod0
-rwxr-xr-x[-rw-r--r--]DAL/models/Fighter.go0
-rwxr-xr-x[-rw-r--r--]Parser/Protocol/Interface.go0
-rwxr-xr-x[-rw-r--r--]Parser/TestParser.go0
-rwxr-xr-x[-rw-r--r--]Parser/go.mod0
-rwxr-xr-x[-rw-r--r--]Parser/main.go0
-rwxr-xr-x[-rw-r--r--]pred_gui/.gitignore0
-rwxr-xr-x[-rw-r--r--]pred_gui/README.md0
-rwxr-xr-x[-rw-r--r--]pred_gui/app.go0
-rwxr-xr-x[-rw-r--r--]pred_gui/build/README.md0
-rwxr-xr-x[-rw-r--r--]pred_gui/build/appicon.pngbin132625 -> 132625 bytes
-rwxr-xr-x[-rw-r--r--]pred_gui/build/darwin/Info.dev.plist0
-rwxr-xr-x[-rw-r--r--]pred_gui/build/darwin/Info.plist0
-rwxr-xr-x[-rw-r--r--]pred_gui/build/windows/icon.icobin21017 -> 21017 bytes
-rwxr-xr-x[-rw-r--r--]pred_gui/build/windows/info.json0
-rwxr-xr-x[-rw-r--r--]pred_gui/build/windows/installer/project.nsi0
-rwxr-xr-x[-rw-r--r--]pred_gui/build/windows/installer/wails_tools.nsh0
-rwxr-xr-x[-rw-r--r--]pred_gui/build/windows/wails.exe.manifest0
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/index.html0
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/package-lock.json0
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/package.json0
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/src/app.css0
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/src/assets/fonts/OFL.txt0
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/src/assets/fonts/nunito-v16-latin-regular.woff2bin18972 -> 18972 bytes
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/src/assets/images/logo-universal.pngbin139695 -> 139695 bytes
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/src/main.ts0
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/src/style.css0
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/src/vite-env.d.ts0
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/tsconfig.json0
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/wailsjs/runtime/package.json0
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/wailsjs/runtime/runtime.d.ts0
-rwxr-xr-x[-rw-r--r--]pred_gui/frontend/wailsjs/runtime/runtime.js0
-rwxr-xr-x[-rw-r--r--]pred_gui/go.mod2
-rwxr-xr-x[-rw-r--r--]pred_gui/go.sum0
-rwxr-xr-x[-rw-r--r--]pred_gui/main.go0
-rwxr-xr-x[-rw-r--r--]pred_gui/wails.json0
39 files changed, 1 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 59a5938..59a5938 100644..100755
--- a/.gitignore
+++ b/.gitignore
diff --git a/DAL/DB/CRUD.go b/DAL/DB/CRUD.go
index 52268df..17b7b52 100644..100755
--- a/DAL/DB/CRUD.go
+++ b/DAL/DB/CRUD.go
@@ -10,6 +10,7 @@ type DataTable[T any] struct {
TableName string
}
+// Creates a query that will get all the objects with the same
func (base *DataTable[T]) GetSimilarFieldsQuery(ref T, fields []string) (string, error) {
var structFields = base.getFieldsMap()
var value = reflect.ValueOf(ref)
@@ -21,7 +22,6 @@ func (base *DataTable[T]) GetSimilarFieldsQuery(ref T, fields []string) (string,
}
filterMap[v] = value.Field(fieldIndex).Interface()
}
- fmt.Println(filterMap)
return base.formQueryWithFilters(filterMap), nil
}
diff --git a/DAL/DB/CRUD_test.go b/DAL/DB/CRUD_test.go
index d6fba1f..d6fba1f 100644..100755
--- a/DAL/DB/CRUD_test.go
+++ b/DAL/DB/CRUD_test.go
diff --git a/DAL/go.mod b/DAL/go.mod
index dbb4b54..dbb4b54 100644..100755
--- a/DAL/go.mod
+++ b/DAL/go.mod
diff --git a/DAL/models/Fighter.go b/DAL/models/Fighter.go
index a399609..a399609 100644..100755
--- a/DAL/models/Fighter.go
+++ b/DAL/models/Fighter.go
diff --git a/Parser/Protocol/Interface.go b/Parser/Protocol/Interface.go
index 34e011d..34e011d 100644..100755
--- a/Parser/Protocol/Interface.go
+++ b/Parser/Protocol/Interface.go
diff --git a/Parser/TestParser.go b/Parser/TestParser.go
index 490c59f..490c59f 100644..100755
--- a/Parser/TestParser.go
+++ b/Parser/TestParser.go
diff --git a/Parser/go.mod b/Parser/go.mod
index 3b01e33..3b01e33 100644..100755
--- a/Parser/go.mod
+++ b/Parser/go.mod
diff --git a/Parser/main.go b/Parser/main.go
index 2e17099..2e17099 100644..100755
--- a/Parser/main.go
+++ b/Parser/main.go
diff --git a/pred_gui/.gitignore b/pred_gui/.gitignore
index 129d522..129d522 100644..100755
--- a/pred_gui/.gitignore
+++ b/pred_gui/.gitignore
diff --git a/pred_gui/README.md b/pred_gui/README.md
index 4d7bcd3..4d7bcd3 100644..100755
--- a/pred_gui/README.md
+++ b/pred_gui/README.md
diff --git a/pred_gui/app.go b/pred_gui/app.go
index af53038..af53038 100644..100755
--- a/pred_gui/app.go
+++ b/pred_gui/app.go
diff --git a/pred_gui/build/README.md b/pred_gui/build/README.md
index 1ae2f67..1ae2f67 100644..100755
--- a/pred_gui/build/README.md
+++ b/pred_gui/build/README.md
diff --git a/pred_gui/build/appicon.png b/pred_gui/build/appicon.png
index 63617fe..63617fe 100644..100755
--- a/pred_gui/build/appicon.png
+++ b/pred_gui/build/appicon.png
Binary files differ
diff --git a/pred_gui/build/darwin/Info.dev.plist b/pred_gui/build/darwin/Info.dev.plist
index 14121ef..14121ef 100644..100755
--- a/pred_gui/build/darwin/Info.dev.plist
+++ b/pred_gui/build/darwin/Info.dev.plist
diff --git a/pred_gui/build/darwin/Info.plist b/pred_gui/build/darwin/Info.plist
index d17a747..d17a747 100644..100755
--- a/pred_gui/build/darwin/Info.plist
+++ b/pred_gui/build/darwin/Info.plist
diff --git a/pred_gui/build/windows/icon.ico b/pred_gui/build/windows/icon.ico
index f334798..f334798 100644..100755
--- a/pred_gui/build/windows/icon.ico
+++ b/pred_gui/build/windows/icon.ico
Binary files differ
diff --git a/pred_gui/build/windows/info.json b/pred_gui/build/windows/info.json
index 9727946..9727946 100644..100755
--- a/pred_gui/build/windows/info.json
+++ b/pred_gui/build/windows/info.json
diff --git a/pred_gui/build/windows/installer/project.nsi b/pred_gui/build/windows/installer/project.nsi
index 654ae2e..654ae2e 100644..100755
--- a/pred_gui/build/windows/installer/project.nsi
+++ b/pred_gui/build/windows/installer/project.nsi
diff --git a/pred_gui/build/windows/installer/wails_tools.nsh b/pred_gui/build/windows/installer/wails_tools.nsh
index 2f6d321..2f6d321 100644..100755
--- a/pred_gui/build/windows/installer/wails_tools.nsh
+++ b/pred_gui/build/windows/installer/wails_tools.nsh
diff --git a/pred_gui/build/windows/wails.exe.manifest b/pred_gui/build/windows/wails.exe.manifest
index 17e1a23..17e1a23 100644..100755
--- a/pred_gui/build/windows/wails.exe.manifest
+++ b/pred_gui/build/windows/wails.exe.manifest
diff --git a/pred_gui/frontend/index.html b/pred_gui/frontend/index.html
index ac375dc..ac375dc 100644..100755
--- a/pred_gui/frontend/index.html
+++ b/pred_gui/frontend/index.html
diff --git a/pred_gui/frontend/package-lock.json b/pred_gui/frontend/package-lock.json
index dd211de..dd211de 100644..100755
--- a/pred_gui/frontend/package-lock.json
+++ b/pred_gui/frontend/package-lock.json
diff --git a/pred_gui/frontend/package.json b/pred_gui/frontend/package.json
index c57eb86..c57eb86 100644..100755
--- a/pred_gui/frontend/package.json
+++ b/pred_gui/frontend/package.json
diff --git a/pred_gui/frontend/src/app.css b/pred_gui/frontend/src/app.css
index 59d06f6..59d06f6 100644..100755
--- a/pred_gui/frontend/src/app.css
+++ b/pred_gui/frontend/src/app.css
diff --git a/pred_gui/frontend/src/assets/fonts/OFL.txt b/pred_gui/frontend/src/assets/fonts/OFL.txt
index 9cac04c..9cac04c 100644..100755
--- a/pred_gui/frontend/src/assets/fonts/OFL.txt
+++ b/pred_gui/frontend/src/assets/fonts/OFL.txt
diff --git a/pred_gui/frontend/src/assets/fonts/nunito-v16-latin-regular.woff2 b/pred_gui/frontend/src/assets/fonts/nunito-v16-latin-regular.woff2
index 2f9cc59..2f9cc59 100644..100755
--- a/pred_gui/frontend/src/assets/fonts/nunito-v16-latin-regular.woff2
+++ b/pred_gui/frontend/src/assets/fonts/nunito-v16-latin-regular.woff2
Binary files differ
diff --git a/pred_gui/frontend/src/assets/images/logo-universal.png b/pred_gui/frontend/src/assets/images/logo-universal.png
index d63303b..d63303b 100644..100755
--- a/pred_gui/frontend/src/assets/images/logo-universal.png
+++ b/pred_gui/frontend/src/assets/images/logo-universal.png
Binary files differ
diff --git a/pred_gui/frontend/src/main.ts b/pred_gui/frontend/src/main.ts
index b68d7d9..b68d7d9 100644..100755
--- a/pred_gui/frontend/src/main.ts
+++ b/pred_gui/frontend/src/main.ts
diff --git a/pred_gui/frontend/src/style.css b/pred_gui/frontend/src/style.css
index 3940d6c..3940d6c 100644..100755
--- a/pred_gui/frontend/src/style.css
+++ b/pred_gui/frontend/src/style.css
diff --git a/pred_gui/frontend/src/vite-env.d.ts b/pred_gui/frontend/src/vite-env.d.ts
index 11f02fe..11f02fe 100644..100755
--- a/pred_gui/frontend/src/vite-env.d.ts
+++ b/pred_gui/frontend/src/vite-env.d.ts
diff --git a/pred_gui/frontend/tsconfig.json b/pred_gui/frontend/tsconfig.json
index 6264574..6264574 100644..100755
--- a/pred_gui/frontend/tsconfig.json
+++ b/pred_gui/frontend/tsconfig.json
diff --git a/pred_gui/frontend/wailsjs/runtime/package.json b/pred_gui/frontend/wailsjs/runtime/package.json
index 1e7c8a5..1e7c8a5 100644..100755
--- a/pred_gui/frontend/wailsjs/runtime/package.json
+++ b/pred_gui/frontend/wailsjs/runtime/package.json
diff --git a/pred_gui/frontend/wailsjs/runtime/runtime.d.ts b/pred_gui/frontend/wailsjs/runtime/runtime.d.ts
index 4445dac..4445dac 100644..100755
--- a/pred_gui/frontend/wailsjs/runtime/runtime.d.ts
+++ b/pred_gui/frontend/wailsjs/runtime/runtime.d.ts
diff --git a/pred_gui/frontend/wailsjs/runtime/runtime.js b/pred_gui/frontend/wailsjs/runtime/runtime.js
index 7cb89d7..7cb89d7 100644..100755
--- a/pred_gui/frontend/wailsjs/runtime/runtime.js
+++ b/pred_gui/frontend/wailsjs/runtime/runtime.js
diff --git a/pred_gui/go.mod b/pred_gui/go.mod
index 079a73e..76d4222 100644..100755
--- a/pred_gui/go.mod
+++ b/pred_gui/go.mod
@@ -36,6 +36,4 @@ require (
// replace github.com/wailsapp/wails/v2 v2.11.0 => /home/physick/go/pkg/mod
-require physick.ru/predictions/DAL v1.0.0
-
replace physick.ru/predictions/DAL v1.0.0 => ../DAL
diff --git a/pred_gui/go.sum b/pred_gui/go.sum
index e3658ec..e3658ec 100644..100755
--- a/pred_gui/go.sum
+++ b/pred_gui/go.sum
diff --git a/pred_gui/main.go b/pred_gui/main.go
index 875ea82..875ea82 100644..100755
--- a/pred_gui/main.go
+++ b/pred_gui/main.go
diff --git a/pred_gui/wails.json b/pred_gui/wails.json
index 641f612..641f612 100644..100755
--- a/pred_gui/wails.json
+++ b/pred_gui/wails.json