aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-10-21 06:42:51 +0800
committerRunxi Yu <me@runxiyu.org>2024-10-21 06:42:51 +0800
commitcbd509d6f9292faab2dc93d74c1b61c46e28cb98 (patch)
treeb3de20c1851fd1fb5afc62aeddedae0defaf31b6
parentMore fork URL changes (diff)
downloadgo-bareish-master.tar.gz
go-bareish-master.zip
Change a few other URLsHEADmaster
-rw-r--r--README.md6
-rw-r--r--cmd/gen/main.go2
2 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index a0944b1..e3b26c8 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ type Address {
state: string
country: string
}
-$ go run git.sr.ht/~sircmpwn/go-bare/cmd/gen -p models schema.bare models/gen.go
+$ go run git.sr.ht/~runxiyu/go-bareish/cmd/gen -p models schema.bare models/gen.go
```
Then you can write something like the following:
@@ -57,7 +57,7 @@ same package. See `examples/time.go` for an example of such an implementation.
For many use-cases, it may be more convenient to write your types manually and
use Marshal and Unmarshal directly. If you choose this approach, you may also
-use `git.sr.ht/~sircmpwn/go-bare/schema.SchemaFor` to generate a BARE schema
+use `git.sr.ht/~runxiyu/go-bareish/schema.SchemaFor` to generate a BARE schema
language document describing your structs.
```go
@@ -65,7 +65,7 @@ package main
import (
"fmt"
- "git.sr.ht/~sircmpwn/go-bare"
+ "git.sr.ht/~runxiyu/go-bareish"
)
// type Coordinates {
diff --git a/cmd/gen/main.go b/cmd/gen/main.go
index 038af9e..b5435b7 100644
--- a/cmd/gen/main.go
+++ b/cmd/gen/main.go
@@ -24,7 +24,7 @@ import (
{{- if .schema.NeedErrors }}
"errors"
{{- end }}
- "git.sr.ht/~sircmpwn/go-bare"
+ "git.sr.ht/~runxiyu/go-bareish"
)
{{ define "type" }}