diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-26 12:08:09 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-26 12:08:09 +0200 |
| commit | eff15a3a58dc97e270d38c1d5f071ccc4c2fd6db (patch) | |
| tree | 107ef7eb27f0dec2f1a22ac3b6666f82d790f241 | |
| parent | 208219f09bbdbb47a3584952ec9d82343276eb01 (diff) | |
fix module
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | cmd/gt/main.go | 8 | ||||
| -rw-r--r-- | go.mod | 2 | ||||
| -rw-r--r-- | internal/repl/handlers.go | 4 | ||||
| -rw-r--r-- | internal/repl/repl.go | 2 | ||||
| -rw-r--r-- | internal/repl/repl_test.go | 2 | ||||
| -rw-r--r-- | internal/version.go | 4 |
7 files changed, 12 insertions, 12 deletions
@@ -28,7 +28,7 @@ This is a toy project created to experience with local LLMs and how good they ar ## Installation ```bash -go install codeberg.org/snonux/perc/cmd/gt@latest +go install codeberg.org/snonux/gt/cmd/gt@latest ``` Or using mage: diff --git a/cmd/gt/main.go b/cmd/gt/main.go index 42ddde9..1ef54ca 100644 --- a/cmd/gt/main.go +++ b/cmd/gt/main.go @@ -51,10 +51,10 @@ import ( "os" "strings" - "codeberg.org/snonux/perc/internal" - "codeberg.org/snonux/perc/internal/perc" - "codeberg.org/snonux/perc/internal/repl" - "codeberg.org/snonux/perc/internal/rpn" + "codeberg.org/snonux/gt/internal" + "codeberg.org/snonux/gt/internal/perc" + "codeberg.org/snonux/gt/internal/repl" + "codeberg.org/snonux/gt/internal/rpn" "github.com/mattn/go-isatty" ) @@ -1,4 +1,4 @@ -module codeberg.org/snonux/perc +module codeberg.org/snonux/gt go 1.25.0 diff --git a/internal/repl/handlers.go b/internal/repl/handlers.go index 6647f3d..b1d27bc 100644 --- a/internal/repl/handlers.go +++ b/internal/repl/handlers.go @@ -8,8 +8,8 @@ import ( "strconv" "strings" - "codeberg.org/snonux/perc/internal/perc" - "codeberg.org/snonux/perc/internal/rpn" + "codeberg.org/snonux/gt/internal/perc" + "codeberg.org/snonux/gt/internal/rpn" ) // CommandHandler represents a handler in the chain of responsibility pattern. diff --git a/internal/repl/repl.go b/internal/repl/repl.go index 243cf90..f452351 100644 --- a/internal/repl/repl.go +++ b/internal/repl/repl.go @@ -8,7 +8,7 @@ import ( "strings" "sync" - "codeberg.org/snonux/perc/internal/rpn" + "codeberg.org/snonux/gt/internal/rpn" "github.com/c-bata/go-prompt" ) diff --git a/internal/repl/repl_test.go b/internal/repl/repl_test.go index 613bc36..3abb664 100644 --- a/internal/repl/repl_test.go +++ b/internal/repl/repl_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "codeberg.org/snonux/perc/internal/rpn" + "codeberg.org/snonux/gt/internal/rpn" "github.com/c-bata/go-prompt" ) diff --git a/internal/version.go b/internal/version.go index b33c5b5..1c40cf8 100644 --- a/internal/version.go +++ b/internal/version.go @@ -22,7 +22,7 @@ // // To access the version from the main command: // -// import "codeberg.org/snonux/perc/internal" +// import "codeberg.org/snonux/gt/internal" // // func main() { // fmt.Println("gt version", internal.Version) @@ -38,7 +38,7 @@ package internal // Version is the current version of the gt application. // // This constant is defined at build time and can be overridden during builds: -// go build -ldflags="-X 'codeberg.org/snonux/perc/internal.Version=v0.3.0-20240324'" +// go build -ldflags="-X 'codeberg.org/snonux/gt/internal.Version=v0.3.0-20240324'" // // The version is used in: // - Command-line output: "gt version" command |
