From 983ab89d48b188dee74299774e57cbc339e6f3c3 Mon Sep 17 00:00:00 2001 From: 178inaba <178inaba@users.noreply.github.com> Date: Thu, 27 Apr 2017 12:07:21 +0900 Subject: [PATCH] Fix example --- example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_test.go b/example_test.go index 8eda8f3..307b6d5 100644 --- a/example_test.go +++ b/example_test.go @@ -8,7 +8,7 @@ import ( "github.com/mattn/go-mastodon" ) -func ExampleApplication_RegisterApp() { +func ExampleRegisterApp() { app, err := mastodon.RegisterApp(context.Background(), &mastodon.AppConfig{ Server: "https://mstdn.jp", ClientName: "client-name",