summaryrefslogtreecommitdiff
path: root/Parser
diff options
context:
space:
mode:
authorPhysick <96335032+DegustatorPonos@users.noreply.github.com>2025-11-29 20:18:11 +0500
committerPhysick <96335032+DegustatorPonos@users.noreply.github.com>2025-11-29 20:18:11 +0500
commite07dca81d05f304865a59c8afee98a3cde8bce8c (patch)
tree2dd01bbc5fd20b6ae024f0c18eb8946887ae9339 /Parser
Project init
Diffstat (limited to 'Parser')
-rw-r--r--Parser/Protocol/Interface.go9
-rw-r--r--Parser/TestParser.go4
-rw-r--r--Parser/go.mod7
-rw-r--r--Parser/main.go7
4 files changed, 27 insertions, 0 deletions
diff --git a/Parser/Protocol/Interface.go b/Parser/Protocol/Interface.go
new file mode 100644
index 0000000..34e011d
--- /dev/null
+++ b/Parser/Protocol/Interface.go
@@ -0,0 +1,9 @@
+package protocol
+
+import (
+ models "physick.ru/predictions/DAL/models"
+)
+
+type Parser interface {
+ GetFighterInfo(FirstName string, LastName string) models.Fighter
+}
diff --git a/Parser/TestParser.go b/Parser/TestParser.go
new file mode 100644
index 0000000..490c59f
--- /dev/null
+++ b/Parser/TestParser.go
@@ -0,0 +1,4 @@
+package main
+
+type TestParser struct {
+}
diff --git a/Parser/go.mod b/Parser/go.mod
new file mode 100644
index 0000000..3b01e33
--- /dev/null
+++ b/Parser/go.mod
@@ -0,0 +1,7 @@
+module PredictionsParser
+
+go 1.25.4
+
+require physick.ru/predictions/DAL v1.0.0
+
+replace physick.ru/predictions/DAL v1.0.0 => ../DAL
diff --git a/Parser/main.go b/Parser/main.go
new file mode 100644
index 0000000..2e17099
--- /dev/null
+++ b/Parser/main.go
@@ -0,0 +1,7 @@
+package main
+
+import "fmt"
+
+func main() {
+ fmt.Println("xdx")
+}