From 45ef5164a846163bdeea4e743dc4f5535ed023ca Mon Sep 17 00:00:00 2001 From: Ranjib Dey Date: Wed, 12 Oct 2016 23:26:24 -0700 Subject: [PATCH] dont declare main twice in examples (#45) --- examples/escalation_policies.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/escalation_policies.go b/examples/escalation_policies.go index 2f634842..685721d3 100644 --- a/examples/escalation_policies.go +++ b/examples/escalation_policies.go @@ -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 {