| commit | 4536b832ac7193c7ed5386940292fd47b4da3d3d | [log] [tgz] |
|---|---|---|
| author | Mikel Olasagasti Uranga <mikel@olasagasti.info> | Thu Mar 14 17:14:20 2024 |
| committer | Brad Fitzpatrick <brad@danga.com> | Thu Apr 03 21:39:10 2025 |
| tree | 5b564e2bca1cda6893c663457e5a41b8106badb7 | |
| parent | d7e81fcaebc2f4f933faf03189db133853d3a58d [diff] |
Run GH Actions also in PRs Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
This is a memcache client library for the Go programming language (http://golang.org/).
Install with:
$ go get github.com/bradfitz/gomemcache/memcache
Then use it like:
import (
"github.com/bradfitz/gomemcache/memcache"
)
func main() {
mc := memcache.New("10.0.0.1:11211", "10.0.0.2:11211", "10.0.0.3:11212")
mc.Set(&memcache.Item{Key: "foo", Value: []byte("my value")})
it, err := mc.Get("foo")
...
}
See https://pkg.go.dev/github.com/bradfitz/gomemcache/memcache
Or run:
$ godoc github.com/bradfitz/gomemcache/memcache