A bit of code cleanup

This commit is contained in:
2024-09-10 19:59:56 +02:00
parent 4592bdf970
commit e4624b8705
4 changed files with 14 additions and 21 deletions

View File

@ -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

View File

@ -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)