Alexey Kim il y a 6 mois
Parent
commit
95ec082ca0
4 fichiers modifiés avec 4 ajouts et 7 suppressions
  1. 0 2
      go.mod
  2. 0 2
      go.sum
  3. 1 3
      strategy.go
  4. 3 0
      version.go

+ 0 - 2
go.mod

@@ -1,5 +1,3 @@
 module git.beejay.kim/Gshopper/sentio
 
 go 1.22.2
-
-require github.com/hashicorp/go-version v1.7.0

+ 0 - 2
go.sum

@@ -1,2 +0,0 @@
-github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
-github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=

+ 1 - 3
strategy.go

@@ -1,10 +1,8 @@
 package sentio
 
-import "github.com/hashicorp/go-version"
-
 type Strategy interface {
 	Name() string
-	Version() *version.Version
+	Version() string
 
 	Model() string
 	PositionSymbols() map[Side]string

+ 3 - 0
version.go

@@ -0,0 +1,3 @@
+package sentio
+
+var VERSION = "0.0.0-dev"