From abcfb8902d3135887eee5c193213e7a53a9b73ea Mon Sep 17 00:00:00 2001 From: guiadco Date: Fri, 20 Oct 2023 17:40:53 +0200 Subject: [PATCH] chore(): fix repo to pkg.dev.go declaration --- Makefile | 6 +----- livecraft/go.mod => go.mod | 2 +- livecraft/go.sum => go.sum | 0 livecraft/livecraft.go | 2 +- {livecraft/variables => variables}/id.go | 0 {livecraft/variables => variables}/vars.go | 0 6 files changed, 3 insertions(+), 7 deletions(-) rename livecraft/go.mod => go.mod (96%) rename livecraft/go.sum => go.sum (100%) rename {livecraft/variables => variables}/id.go (100%) rename {livecraft/variables => variables}/vars.go (100%) diff --git a/Makefile b/Makefile index 792af52..870fcdb 100644 --- a/Makefile +++ b/Makefile @@ -81,8 +81,4 @@ mr.clean: update-golang: @printf "Update Golang...\n" - @pushd livecraft && \ - go get -u && \ - go mod tidy && \ - go get -u ./... && \ - popd + @go get -u ./... && go mod tidy diff --git a/livecraft/go.mod b/go.mod similarity index 96% rename from livecraft/go.mod rename to go.mod index 2957621..5edf43c 100644 --- a/livecraft/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/guiadco/LiveCraft/livecraft +module github.com/guiadco/LiveCraft go 1.21.1 diff --git a/livecraft/go.sum b/go.sum similarity index 100% rename from livecraft/go.sum rename to go.sum diff --git a/livecraft/livecraft.go b/livecraft/livecraft.go index f6baee2..83cea55 100644 --- a/livecraft/livecraft.go +++ b/livecraft/livecraft.go @@ -6,7 +6,7 @@ import ( "os" "os/exec" - "github.com/guiadco/LiveCraft/livecraft/variables" + "github.com/guiadco/LiveCraft/variables" ) func main() { diff --git a/livecraft/variables/id.go b/variables/id.go similarity index 100% rename from livecraft/variables/id.go rename to variables/id.go diff --git a/livecraft/variables/vars.go b/variables/vars.go similarity index 100% rename from livecraft/variables/vars.go rename to variables/vars.go