Renamed Source to AccountSource

This commit is contained in:
buckket 2019-05-14 04:21:14 +02:00 committed by mattn
parent 68ca31fccd
commit 636b33ad1c
2 changed files with 4 additions and 4 deletions

View file

@ -96,7 +96,7 @@ func TestAccountUpdate(t *testing.T) {
}
tbool := true
fields := []Field{{"foo", "bar", time.Time{}}, {"dum", "baz", time.Time{}}}
source := Source{Language: "de", Privacy: "public", Sensitive: &tbool}
source := AccountSource{Language: "de", Privacy: "public", Sensitive: &tbool}
a, err := client.AccountUpdate(context.Background(), &Profile{
DisplayName: String("display_name"),
Note: String("note"),