openacid / slim

Surprisingly space efficient trie in Golang(11 bits/key; 100 ns/get).

Home Page:https://openacid.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

refine error definition

drmingdrmer opened this issue · comments

Create a struct that implements interface error instead of wrapping struct error.

pkg/errors seems like a good choice:
https://github.com/pkg/errors

使用forked pkg/errors: openacid/errors