diff options
Diffstat (limited to 'Parser')
| -rw-r--r-- | Parser/Protocol/Interface.go | 9 | ||||
| -rw-r--r-- | Parser/TestParser.go | 4 | ||||
| -rw-r--r-- | Parser/go.mod | 7 | ||||
| -rw-r--r-- | Parser/main.go | 7 |
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") +} |
