From 3455579be615c0e1b918b7377e0cd8e71ba01905 Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Sun, 2 Apr 2023 22:25:12 -0700 Subject: [PATCH] Fix module spec. --- .gitignore | 2 ++ go.mod | 4 +++- smoketest/cards.go | 3 ++- smoketest/collection.go | 2 +- smoketest/main.go | 3 ++- smoketest/rules.go | 3 ++- 6 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index adf8f72..1d8a8d2 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,5 @@ # Go workspace file go.work +# Visual studio Code exclusions +.vscode/settings.json diff --git a/go.mod b/go.mod index 65ed7e9..406b60a 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,9 @@ -module cardSimEngine +module git.chromaticdragon.app/kistaro/CardSimEngine go 1.20 +require github.com/kr/pretty v0.3.1 + require ( github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect diff --git a/smoketest/cards.go b/smoketest/cards.go index f92b924..8c99745 100644 --- a/smoketest/cards.go +++ b/smoketest/cards.go @@ -1,9 +1,10 @@ package main import ( - "cardSimEngine/cardsim" "errors" "fmt" + + "git.chromaticdragon.app/kistaro/CardSimEngine/cardsim" ) // Type aliases, unlike distinctly named types, are fully substitutable for diff --git a/smoketest/collection.go b/smoketest/collection.go index d038bd6..a1faf58 100644 --- a/smoketest/collection.go +++ b/smoketest/collection.go @@ -1,7 +1,7 @@ package main import ( - "cardSimEngine/cardsim" + "git.chromaticdragon.app/kistaro/CardSimEngine/cardsim" ) // SmokeTestCollection is a stats collection for the simple test sim. diff --git a/smoketest/main.go b/smoketest/main.go index 1773def..b004b3b 100644 --- a/smoketest/main.go +++ b/smoketest/main.go @@ -2,9 +2,10 @@ package main import ( - "cardSimEngine/cardsim" "fmt" + "git.chromaticdragon.app/kistaro/CardSimEngine/cardsim" + "github.com/kr/pretty" ) diff --git a/smoketest/rules.go b/smoketest/rules.go index ceffc7c..e14169e 100644 --- a/smoketest/rules.go +++ b/smoketest/rules.go @@ -1,8 +1,9 @@ package main import ( - "cardSimEngine/cardsim" "math" + + "git.chromaticdragon.app/kistaro/CardSimEngine/cardsim" ) var (