Skip to content

Commit 84a2e92

Browse files
committed
chore(lint): golangci-lint: fix various
1 parent 3fc5969 commit 84a2e92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

twilio/examples/get_one/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func main() {
3030
if err != nil {
3131
log.Fatal(err)
3232
}
33-
fmtutil.PrintJSON(loaded)
33+
fmtutil.MustPrintJSON(loaded)
3434

3535
client, err := twilio.NewClient(
3636
os.Getenv(twilio.EnvTwilioAccountSid),
@@ -49,11 +49,11 @@ func main() {
4949
if err != nil {
5050
log.Fatal(err)
5151
}
52-
fmtutil.PrintJSON(info)
52+
fmtutil.MustPrintJSON(info)
5353
} else {
5454
mr := twilio.GetWriteValidationMulti(
5555
client, phoneNumbers, []string{}, "_twilio_multi", uint(2), uint(2))
56-
fmtutil.PrintJSON(mr)
56+
fmtutil.MustPrintJSON(mr)
5757
}
5858

5959
fmt.Println("DONE")

0 commit comments

Comments
 (0)