Skip to content

Commit

Permalink
contrib/bradfitz/gomemcache: add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dd-caleb committed Aug 1, 2018
1 parent 972fc5b commit 39fa1ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion contrib/bradfitz/gomemcache/memcache/memcache.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
package memcache
// Package memcache provides functions to trace the bradfitz/gomemcache package (https://github.com/bradfitz/gomemcache).
//
// `WrapClient` will wrap a memcache `Client` and return a new struct with all
// the same methods, so should be seamless for existing applications. It also
// has an additional `WithContext` method which can be used to connect a span
// to an existing trace.
package memcache // import "gopkg.in/DataDog/dd-trace-go.v1/contrib/bradfitz/gomemcache/memcache"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion contrib/bradfitz/gomemcache/memcache/option.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package memcache // import "gopkg.in/DataDog/dd-trace-go.v1/contrib/bradfitz/gomemcache/memcache"
package memcache

const (
serviceName = "memcached"
Expand Down

0 comments on commit 39fa1ff

Please sign in to comment.