Skip to content

Commit 15f619e

Browse files
authored
prepare for release 1 (#90)
* update docs * light r1 v010 * update versions
1 parent e68d3e1 commit 15f619e

File tree

4 files changed

+27
-5
lines changed

4 files changed

+27
-5
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,28 @@ Go: Hello, Starlet!
105105
Modules: [atom base64 csv file go_idiomatic hashlib http json log math path random re runtime string struct time]
106106
```
107107

108+
Use CLI to interact with the read-eval-print loop (REPL):
109+
110+
```python
111+
>>> resp = http.get("https://api.github.com/repos/1set/starlet")
112+
>>> resp.status_code
113+
200
114+
>>> data = resp.json()
115+
>>> data["description"]
116+
"✨ Enhancing your Starlark scripting experience with powerful extensions and enriched wrappers. Start your Starlark journey with Starlet, where simplicity meets functionality."
117+
>>> ",".join(data["topics"])
118+
"go,golang,script,scripting,scripting-language,starlark,starlark-go,starlark-lang,starlark-language,starlarky"
119+
>>> pprint(data["license"])
120+
{
121+
"key": "mit",
122+
"name": "MIT License",
123+
"node_id": "MDc6TGljZW5zZTEz",
124+
"spdx_id": "MIT",
125+
"url": "https://api.github.com/licenses/mit"
126+
}
127+
>>>
128+
```
129+
108130
## Contributing
109131

110132
Contributions to *Starlet* are all welcomed. If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request. Before undertaking any significant changes, please let us know by filing an issue or claiming an existing one to ensure there is no duplication of effort.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/1set/starlet
33
go 1.18
44

55
require (
6-
github.com/1set/starlight v0.0.10
6+
github.com/1set/starlight v0.1.0
77
github.com/google/uuid v1.6.0
88
go.starlark.net v0.0.0-20240123142251-f86470692795
99
go.uber.org/atomic v1.11.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
2-
github.com/1set/starlight v0.0.10 h1:R7/gKmMPJvuQVAS4Xc2XnX94A/xinvXho6l1ihZ1gvc=
3-
github.com/1set/starlight v0.0.10/go.mod h1:UBovtihT3K/JtaX+Nv/xBmdDk3LW6kr5yzqaYFo4KDQ=
2+
github.com/1set/starlight v0.1.0 h1:tLb+u3kJI15s4KLCnJYpI8fDmJOnRxA3xdOq0IkYkEY=
3+
github.com/1set/starlight v0.1.0/go.mod h1:UBovtihT3K/JtaX+Nv/xBmdDk3LW6kr5yzqaYFo4KDQ=
44
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
55
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
66
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=

internal/doc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// It should be only imported by the custom Starlark modules under starlet/lib folders, and not by the Starlet main package to avoid cyclic import.
33
package internal
44

5-
// StarletVersion is the current version of Starlet.
6-
const StarletVersion = "v0.0.6"
5+
// StarletVersion should be the current version of Starlet.
6+
const StarletVersion = "v0.1.0"

0 commit comments

Comments
 (0)