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:
parent
c3aee35930
commit
de25a429f2
1 changed files with 11 additions and 10 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue