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",