Skip to content

Commit

Permalink
dont declare main twice in examples (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjib authored Oct 13, 2016
1 parent 59c85d9 commit 45ef516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/escalation_policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var (
authtoken string
)

func main() {
func ep() {
var opts pagerduty.ListEscalationPoliciesOptions
client := pagerduty.NewClient(authtoken)
if eps, err := client.ListEscalationPolicies(opts); err != nil {
Expand Down

0 comments on commit 45ef516

Please sign in to comment.