diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-17 12:54:06 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-17 12:54:06 +0200 |
| commit | 1884d56b0d399e9cdb80016a9c166b0120989933 (patch) | |
| tree | d5ca16e23970791ea6b014a0d48541b444fdfd8b /docs/gui-design.md | |
| parent | ca35dfc540bb86ebe193dd186ac6bb5276a93c2e (diff) | |
| download | krino-1884d56b0d399e9cdb80016a9c166b0120989933.tar.gz krino-1884d56b0d399e9cdb80016a9c166b0120989933.zip | |
the module path is git.labunix.xyz/krino
So that go install can find it. cgit serves no go-import meta tag, so
nginx answers a ?go-get=1 request for /NAME with one pointing at
https://git.labunix.xyz/NAME.git; the alternative was carrying a .git
suffix through every import line forever.
One sed over the imports, both go.mod files, and the dependency gate's
whitelist. Nothing else depends on the path. go install works from the
next tag, the first release whose go.mod carries it.
Diffstat (limited to 'docs/gui-design.md')
| -rw-r--r-- | docs/gui-design.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/gui-design.md b/docs/gui-design.md index 602368f..dd65c95 100644 --- a/docs/gui-design.md +++ b/docs/gui-design.md @@ -18,11 +18,11 @@ same log, that `krino log` and `krino undo` see. ### 1.1 Where the code lives -- A nested Go module `krino/gui` in `gui/`, with its own `go.mod` - (`github.com/diamondburned/gotk4/pkg` v0.4.1, and `replace krino => ../`), - building one binary, `krino-gui`. It imports `krino/internal/...`, which - Go allows because the import path is under `krino` (verified with a probe - module, 2026-09-15). +- A nested Go module `git.labunix.xyz/krino/gui` in `gui/`, with its own + `go.mod` (`github.com/diamondburned/gotk4/pkg`, and a `replace` pointing + at `../`), building one binary, `krino-gui`. It imports + `git.labunix.xyz/krino/internal/...`, which Go allows because the import + path is under the parent module's. - krino's own module, `make ci` and its dependency gate are unchanged: `go list ./...` at the root does not include `gui/`. - `make gui` builds `krino-gui` with `CGO_ENABLED=1`; `make gui-ci` runs |
