Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beeker1121/mailchimp-go
/ functions
Functions
58 in github.com/beeker1121/mailchimp-go
⨍
Functions
58
◇
Types & classes
36
↓ 46 callers
Method
Error
Error satisfies the error interface method.
errors.go:34
↓ 9 callers
Method
Contains
Contains checks whether the tagOptions contains the specified option.
query/encode.go:339
↓ 7 callers
Function
Values
Values returns the url.Values encoding of v. Values expects to be passed a struct, and traverses it recursively using the following encoding rules.
query/encode.go:139
↓ 6 callers
Function
Delete
Delete deletes a list.
lists/lists.go:331
↓ 6 callers
Function
Delete
Delete deletes a list member.
lists/members/members.go:398
↓ 6 callers
Function
New
New adds a new list member.
lists/members/members.go:326
↓ 4 callers
Function
GetList
GetList retrieves information about a specific list.
lists/lists.go:295
↓ 4 callers
Function
GetMember
GetMember retrieves information about a specific member within a list.
lists/members/members.go:362
↓ 4 callers
Function
createList
()
lists/lists_test.go:190
↓ 4 callers
Function
valueString
valueString returns the string representation of a value.
query/encode.go:276
↓ 3 callers
Function
New
New creates a new list.
lists/lists.go:261
↓ 2 callers
Function
SetKey
SetKey sets the API key and updates the data center value accordingly.
mailchimp.go:26
↓ 2 callers
Function
parseTag
parseTag splits a struct field's url tag into its name and comma-separated options.
query/encode.go:333
↓ 1 callers
Method
EncodeQueryString
(v interface{})
query/encode.go:42
↓ 1 callers
Method
EncodeValues
(key string, v *url.Values)
query/encode.go:48
↓ 1 callers
Function
Get
Get retrieves information about all lists.
lists/lists.go:278
↓ 1 callers
Function
Get
Get retrieves information about members in a list.
lists/members/members.go:344
↓ 1 callers
Function
Update
Update updates a list.
lists/lists.go:313
↓ 1 callers
Function
Update
Update updates a list member.
lists/members/members.go:380
↓ 1 callers
Function
createList
()
lists/members/members_test.go:197
↓ 1 callers
Function
isEmptyValue
isEmptyValue checks if a value should be considered empty for the purposes of omitting fields with the "omitempty" option.
query/encode.go:304
↓ 1 callers
Function
reflectValue
reflectValue populates the values parameter from the struct fields in val. Embedded structs are followed recursively (using the rules defined in the V
query/encode.go:164
Function
Call
Call issues a request to the MailChimp API.
mailchimp.go:46
Function
Encode
Encode returns the query string encoding of v.
query/encode.go:52
Method
EncodeQueryString
EncodeQueryString handles custom query string encoding for the GetParams object.
lists/lists.go:184
Method
EncodeQueryString
EncodeQueryString handles custom query string encoding for the GetListParams object.
lists/lists.go:236
Method
EncodeQueryString
EncodeQueryString handles custom query string encoding for the GetParams object.
lists/members/members.go:214
Method
EncodeQueryString
EncodeQueryString handles custom query string encoding for the GetMemberParams object.
lists/members/members.go:272
Method
EncodeValues
(key string, v *url.Values)
query/encode_test.go:262
Method
MarshalJSON
MarshalJSON handles custom JSON marshalling for the NewParams object. Credit to http://choly.ca/post/go-json-marshalling/
lists/members/members.go:172
Method
MarshalJSON
MarshalJSON handles custom JSON marshalling for the UpdateParams object. Credit to http://choly.ca/post/go-json-marshalling/
lists/members/members.go:302
Function
SetClient
SetClient sets the http.Client used to make API requests.
mailchimp.go:41
Function
TestDelete
(t *testing.T)
lists/lists_test.go:37
Function
TestDelete
(t *testing.T)
lists/members/members_test.go:39
Function
TestGet
(t *testing.T)
lists/lists_test.go:84
Function
TestGet
(t *testing.T)
lists/members/members_test.go:92
Function
TestGetList
(t *testing.T)
lists/lists_test.go:138
Function
TestGetMember
(t *testing.T)
lists/members/members_test.go:130
Function
TestListUnmarshal
(t *testing.T)
lists/lists_test.go:18
Function
TestMain
(m *testing.M)
lists/lists_test.go:215
Function
TestMain
(m *testing.M)
lists/members/members_test.go:222
Function
TestMemberUnmarshal
(t *testing.T)
lists/members/members_test.go:20
Function
TestNew
(t *testing.T)
lists/lists_test.go:69
Function
TestNew
(t *testing.T)
lists/members/members_test.go:72
Function
TestSetKey
(t *testing.T)
mailchimp_test.go:5
Function
TestTagParsing
(t *testing.T)
query/encode_test.go:303
Function
TestUpdate
(t *testing.T)
lists/lists_test.go:158
Function
TestUpdateMember
(t *testing.T)
lists/members/members_test.go:155
Function
TestValues_Marshaler
(t *testing.T)
query/encode_test.go:269
Function
TestValues_MarshalerWithNilPointer
(t *testing.T)
query/encode_test.go:288
Function
TestValues_embeddedStructs
(t *testing.T)
query/encode_test.go:222
Function
TestValues_invalidInput
(t *testing.T)
query/encode_test.go:253
Function
TestValues_omitEmpty
(t *testing.T)
query/encode_test.go:174
Function
TestValues_types
(t *testing.T)
query/encode_test.go:25
Method
UnmarshalJSON
UnmarshalJSON handles custom JSON unmarshalling for the Stats object. Credit to http://choly.ca/post/go-json-marshalling/
lists/lists.go:65
Method
UnmarshalJSON
UnmarshalJSON handles custom JSON unmarshalling for the List object. Credit to http://choly.ca/post/go-json-marshalling/
lists/lists.go:124
Method
UnmarshalJSON
UnmarshalJSON handles custom JSON unmarshalling for the Note object. Credit to http://choly.ca/post/go-json-marshalling/
lists/members/members.go:60
Method
UnmarshalJSON
UnmarshalJSON handles custom JSON unmarshalling for the Member object. Credit to http://choly.ca/post/go-json-marshalling/
lists/members/members.go:110