Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## ✒ 历史版本的特性介绍 (Features in old versions)

### v0.7.0

> 此版本发布于 2024-08-11

* 优化使用姿势的重构正式版本

### v0.6.3-alpha

> 此版本发布于 2024-08-11
Expand Down
4 changes: 2 additions & 2 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
[![Coverage](_icons/coverage.svg)](_icons/coverage.svg)
![Test](https://github.com/FishGoddess/errors/actions/workflows/test.yml/badge.svg)

**Errors** is a lib for handling error gracefully in Go.
**Errors** is a library for handling errors gracefully in Go.

[阅读中文版的 Read me](./README.md)

### 🙋‍ Features

* Handling error gracefully, yep, that's all...
* Handling errors gracefully, yep, that's all...

_Check [HISTORY.md](./HISTORY.md) and [FUTURE.md](./FUTURE.md) to know about more information._

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

### 🙋‍ 功能特性

* 优雅地处理 error,嗯,没了。。。
* 优雅地处理错误,嗯,没了。。。

_历史版本的特性请查看 [HISTORY.md](./HISTORY.md)。未来版本的新特性和计划请查看 [FUTURE.md](./FUTURE.md)。_

Expand Down Expand Up @@ -69,4 +69,4 @@ func main() {

### 👥 贡献者

如果您觉得 **Errors** 缺少您需要的功能,那就 fork 到自己仓库随便玩。当然,也可以提 _**issue**_ :)。
如果您觉得 **errors** 缺少您需要的功能,那就 fork 到自己仓库随便玩。当然,也可以提 _**issue**_ :)。
2 changes: 1 addition & 1 deletion wrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (e *Error) WithCaller() *Error {

func (e *Error) WithCallers() *Error {
callers := Callers()
e.caller = strings.Join(callers, "¦")
e.caller = strings.Join(callers, " ¦ ")
return e
}

Expand Down