Skip to content

Instantly share code, notes, and snippets.

@caalberts
Created December 27, 2017 15:10
Show Gist options
  • Save caalberts/ed2864393cd34419bd8ec526ce36ec60 to your computer and use it in GitHub Desktop.
Save caalberts/ed2864393cd34419bd8ec526ce36ec60 to your computer and use it in GitHub Desktop.
package main
import (
"strconv"
"errors"
)
type AccountRepository struct {
client RedisProxy
}
func NewAccountRepository(redis RedisProxy) *AccountRepository {
return &AccountRepository{redis}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment