Skip to content

Commit

Permalink
fix worker
Browse files Browse the repository at this point in the history
  • Loading branch information
kuozo committed Dec 20, 2013
1 parent 60ab984 commit 1158261
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/trello/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ const (
)

type Trello struct {
key string
token string
Key string
Token string
}

func NewTrello(key, token string) (t *Trello) {
t = new(Trello)
t.key = key
t.token = token
t.Key = key
t.Token = token
return t
}

Expand Down
3 changes: 3 additions & 0 deletions worker/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ func main() {

t := trello.NewTrello("222", "sss")
fmt.Println(t)
for {
fmt.Println(t.Key)
}
}

0 comments on commit 1158261

Please sign in to comment.