Fix example
parent
43b274bbd2
commit
983ab89d48
|
@ -8,7 +8,7 @@ import (
|
||||||
"github.com/mattn/go-mastodon"
|
"github.com/mattn/go-mastodon"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleApplication_RegisterApp() {
|
func ExampleRegisterApp() {
|
||||||
app, err := mastodon.RegisterApp(context.Background(), &mastodon.AppConfig{
|
app, err := mastodon.RegisterApp(context.Background(), &mastodon.AppConfig{
|
||||||
Server: "https://mstdn.jp",
|
Server: "https://mstdn.jp",
|
||||||
ClientName: "client-name",
|
ClientName: "client-name",
|
||||||
|
|
Loading…
Reference in New Issue