Skip to content

Commit

Permalink
memcache: fix spelling errors
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Mery <[email protected]>
  • Loading branch information
amery committed Jan 13, 2024
1 parent d94b392 commit cb67458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/memcache/singleflight.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@ type outreacher struct {
// Expire returns the error set by a failed outward.Get()
func (p *outreacher) Err() error { return p.err }

// Expire returns the data set by a succesful outward.Get()
// Expire returns the data set by a successful outward.Get()
func (p *outreacher) Bytes() []byte { return p.b }

// Expire returns the expiration date set by a succesful outward.Get()
// Expire returns the expiration date set by a successful outward.Get()
func (p *outreacher) Expire() time.Time { return p.ex }

// Ok tells if a value has been stored
Expand Down

0 comments on commit cb67458

Please sign in to comment.