Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 03:06:10 +01:00
forgejo/vendor/github.com/lunny/levelqueue
Mura Li d77176912b Use Go1.11 module (#5743)
* Migrate to go modules

* make vendor

* Update mvdan.cc/xurls

* make vendor

* Update code.gitea.io/git

* make fmt-check

* Update github.com/go-sql-driver/mysql

* make vendor
2019-03-27 19:15:23 +08:00
..
.gitignore Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
error.go Refactor issue indexer (#5363) 2019-02-19 09:39:39 -05:00
go.mod Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
go.sum Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
LICENSE Refactor issue indexer (#5363) 2019-02-19 09:39:39 -05:00
queue.go Refactor issue indexer (#5363) 2019-02-19 09:39:39 -05:00
README.md Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00

levelqueue

Level queue is a simple queue golang library base on go-leveldb.

CircleCI codecov

Installation

go get github.com/lunny/levelqueue

Usage

queue, err := levelqueue.Open("./queue")

err = queue.RPush([]byte("test"))

data, err = queue.LPop()