1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-09 15:35:27 +02:00

comment out debug code

This commit is contained in:
Elliott Stoneham 2016-07-01 17:42:26 +01:00
parent c3aee35930
commit de25a429f2

View file

@ -12,7 +12,6 @@
package github package github
import ( import (
"fmt"
"html/template" "html/template"
"strings" "strings"
"time" "time"
@ -264,16 +263,18 @@ func (c *githubConfig) Clean() {
c.SincePtr = &since c.SincePtr = &since
} }
} }
fmt.Println("DEBUG-1 client:", c.Token, c.Owner, c.Repo, c.ReportInfo, c.Branch) /*
fmt.Printf("DEBUG-2 client %#v\n", *c) fmt.Println("DEBUG-1 client:", c.Token, c.Owner, c.Repo, c.ReportInfo, c.Branch)
fmt.Printf("DEBUG-2 client %#v\n", *c)
var x Provider var x Provider
auth, _, err := x.githubClient(nil).Authorizations.Check(clientID(), c.Token) auth, _, err := x.githubClient(nil).Authorizations.Check(clientID(), c.Token)
if err != nil { if err != nil {
fmt.Printf("DEBUG-3 client %#v\n", err.Error()) fmt.Printf("DEBUG-3 client %#v\n", err.Error())
} else { } else {
fmt.Printf("DEBUG-4 client %#v\n", *auth) fmt.Printf("DEBUG-4 client %#v\n", *auth)
} }
*/
} }
type githubCallbackT struct { type githubCallbackT struct {