Fix example

pull/47/head
178inaba 2017-04-27 12:07:21 +09:00
parent 43b274bbd2
commit 983ab89d48
1 changed files with 1 additions and 1 deletions

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