forked from jason/cpolis
A bit of code cleanup
This commit is contained in:
@ -8,9 +8,7 @@ import (
|
||||
"google.golang.org/api/option"
|
||||
)
|
||||
|
||||
type Client struct {
|
||||
*auth.Client
|
||||
}
|
||||
type Client struct{ *auth.Client }
|
||||
|
||||
func NewClient(c *Config) (*Client, error) {
|
||||
var err error
|
||||
|
@ -10,9 +10,7 @@ import (
|
||||
"github.com/gorilla/sessions"
|
||||
)
|
||||
|
||||
type CookieStore struct {
|
||||
sessions.CookieStore
|
||||
}
|
||||
type CookieStore struct{ sessions.CookieStore }
|
||||
|
||||
func NewKey() ([]byte, error) {
|
||||
key := make([]byte, 32)
|
||||
|
Reference in New Issue
Block a user