Skip to content

Commit 27450b7

Browse files
author
Raphaël Benitte
committed
Merge pull request #22 from ns3777k/master
fix mistype and naming convention
2 parents 19020cd + 1165e8c commit 27450b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

events.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type FeedCommit struct {
3636

3737
func (g *Gitlab) Activity() (ActivityFeed, error) {
3838

39-
url := g.BaseUrl + dasboard_feed_path + "?private_token=" + g.Token
39+
url := g.BaseUrl + dashboardFeedPath + "?private_token=" + g.Token
4040
fmt.Println(url)
4141

4242
contents, err := g.buildAndExecRequest("GET", url, nil)

gitlab.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
const (
16-
dasboard_feed_path = "/dashboard.atom"
16+
dashboardFeedPath = "/dashboard.atom"
1717
)
1818

1919
type Gitlab struct {

0 commit comments

Comments
 (0)