aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2024-05-24 09:21:19 +0100
committerGitHub <noreply@github.com>2024-05-24 09:21:19 +0100
commit5b9d3c261202e860d0c64df83ba3a1e2600bfc41 (patch)
treef30edb6a2dcd60e7d030d1baab28651203ae405b /README.md
parent85dc64e5a12046a19ab76c43f295e6a0e4c34dd1 (diff)
downloadgleam_json-5b9d3c261202e860d0c64df83ba3a1e2600bfc41.tar.gz
gleam_json-5b9d3c261202e860d0c64df83ba3a1e2600bfc41.zip
Correct import
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3de4559..496234f 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ gleam add gleam_json
### Encoding
```gleam
-import myapp.{Cat}
+import myapp.{type Cat}
import gleam/json.{object, string, array, int, null}
pub fn cat_to_json(cat: Cat) -> String {