Skip to content

Commit 550547d

Browse files
Merge branch 'main' into develop
2 parents d90f8e7 + 598ea66 commit 550547d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

readme.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ func MakeScheduler(
7575

7676
使用框架预制的队列容器和函数执行器可以轻松实现一个函数的调度。参考 [a+b example](https://github.com/memory-overflow/light-task-scheduler/blob/develop/example/add_example/main.go)
7777

78+
## Usage
79+
```
80+
go get -u github.com/memory-overflow/light-task-scheduler
81+
```
7882

7983

8084
### Example: 使用内存容器实现视频裁剪异步任务调度
@@ -118,5 +122,8 @@ type VideoCutTask struct {
118122
#### 实现简单管理接口的 web 页面
119123
参考代码 [web.go](https://github.com/memory-overflow/light-task-scheduler/blob/develop/example/videocut_example/video_cut/web.go)
120124

125+
121126
#### 启动服务
122-
执行 `go run example/videocut_example/main_web/main.go` 启动服务,然后在浏览器输入`http://127.0.0.1:8000/html`即可进入管理界面。
127+
执行 `go run example/videocut_example/main_web/main.go` 启动服务,然后在浏览器输入`http://127.0.0.1:8000/html`即可进入管理界面。
128+
129+

0 commit comments

Comments
 (0)