Fix example

This commit is contained in:
178inaba 2017-04-27 12:07:21 +09:00
parent 43b274bbd2
commit 983ab89d48

View File

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