From ab729510887bcb7ec46e71424cb2b85d91048d0f Mon Sep 17 00:00:00 2001 From: RudideC Date: Sun, 18 Aug 2024 10:46:39 +0200 Subject: [PATCH] organised stuff --- .gitignore | 14 ++++++-------- go.mod | 5 ++++- go.sum | 2 ++ main.go => src/main.go | 0 parser.go => src/parser.go | 0 utils.go => src/utils.go | 0 6 files changed, 12 insertions(+), 9 deletions(-) rename main.go => src/main.go (100%) rename parser.go => src/parser.go (100%) rename utils.go => src/utils.go (100%) diff --git a/.gitignore b/.gitignore index a6c612e..b4e1c3a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,4 @@ -# Created by https://www.toptal.com/developers/gitignore/api/go -# Edit at https://www.toptal.com/developers/gitignore?templates=go -### Go ### -# If you prefer the allow list template instead of the deny list, see community template: -# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore -# # Binaries for programs and plugins *.exe *.exe~ @@ -24,8 +18,12 @@ # Go workspace file go.work -# End of https://www.toptal.com/developers/gitignore/api/go +# Mac OS +.DS_Store +#vscode +.vscode + +# Idk why this is ignored tbh parser/ -go.sum \ No newline at end of file diff --git a/go.mod b/go.mod index 57bf7eb..d14b7d4 100644 --- a/go.mod +++ b/go.mod @@ -6,4 +6,7 @@ toolchain go1.22.6 require github.com/antlr4-go/antlr/v4 v4.13.1 // direct -require golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect +require ( + github.com/antlr4-go/antlr v0.0.0-20230518091524-98b52378c522 // indirect + golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect +) diff --git a/go.sum b/go.sum index a4312cd..0517b9b 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +github.com/antlr4-go/antlr v0.0.0-20230518091524-98b52378c522 h1:o+W7GDFUwWtVkN28CW/nhh/aCmHn6OJddUs3+8vMMjs= +github.com/antlr4-go/antlr v0.0.0-20230518091524-98b52378c522/go.mod h1:srLVvW4JLxy+tCG9Nn2l8al77mUIMCwAOLQocfLDU2w= github.com/antlr4-go/antlr/v4 v4.13.1 h1:SqQKkuVZ+zWkMMNkjy5FZe5mr5WURWnlpmOuzYWrPrQ= github.com/antlr4-go/antlr/v4 v4.13.1/go.mod h1:GKmUxMtwp6ZgGwZSva4eWPC5mS6vUAmOABFgjdkM7Nw= golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 h1:vr/HnozRka3pE4EsMEg1lgkXJkTFJCVUX+S/ZT6wYzM= diff --git a/main.go b/src/main.go similarity index 100% rename from main.go rename to src/main.go diff --git a/parser.go b/src/parser.go similarity index 100% rename from parser.go rename to src/parser.go diff --git a/utils.go b/src/utils.go similarity index 100% rename from utils.go rename to src/utils.go