mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-12 13:46:51 +00:00
better logging
This commit is contained in:
parent
2b9e5cc7e8
commit
cf53dfe3f9
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ type Service struct {
|
||||||
|
|
||||||
func NewService(ctx context.Context, credJson string, opts ...Option) (*Service, error) {
|
func NewService(ctx context.Context, credJson string, opts ...Option) (*Service, error) {
|
||||||
b := []byte(credJson)
|
b := []byte(credJson)
|
||||||
log.Println(credJson)
|
log.Printf("%+v", credJson)
|
||||||
|
|
||||||
config, err := google.ConfigFromJSON(b, calendar.CalendarReadonlyScope)
|
config, err := google.ConfigFromJSON(b, calendar.CalendarReadonlyScope)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue