Skip to content

Commit

Permalink
chore: update the readme for add some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Jul 7, 2022
1 parent 9ea99da commit 256ed1a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ Lightweight event management, dispatch tool library implemented by Go

- [Godoc for github](https://pkg.go.dev/github.com/gookit/event)

## Install

```shell
go get github.com/gookit/event
```

## Main method

- `On/Listen(name string, listener Listener, priority ...int)` Register event listener
Expand Down
8 changes: 7 additions & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ English introduction, please see **[EN README](README.md)**

- [Godoc for github](https://pkg.go.dev/github.com/gookit/event)

## 安装

```shell
go get github.com/gookit/event
```

## 主要方法

- `On/Listen(name string, listener Listener, priority ...int)` 注册事件监听
Expand Down Expand Up @@ -274,7 +280,7 @@ event.Fire("e1", nil)
## Gookit 工具包

- [gookit/ini](https://github.com/gookit/ini) INI配置读取管理,支持多文件加载,数据覆盖合并, 解析ENV变量, 解析变量引用
- [gookit/rux](https://github.com/gookit/rux) Simple and fast request router for golang HTTP
- [gookit/rux](https://github.com/gookit/rux) 简单且快速的 Go web 框架,支持中间件,兼容 http.Handler 接口
- [gookit/gcli](https://github.com/gookit/gcli) Go的命令行应用,工具库,运行CLI命令,支持命令行色彩,用户交互,进度显示,数据格式化显示
- [gookit/slog](https://github.com/gookit/slog) 用Go编写的轻量级,可扩展,可配置的日志记录库
- [gookit/event](https://github.com/gookit/event) Go实现的轻量级的事件管理、调度程序库, 支持设置监听器的优先级, 支持对一组事件进行监听
Expand Down

0 comments on commit 256ed1a

Please sign in to comment.