Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-11-24 10:46:51 +00:00
parent faf22546b7
commit 3f9e5d8723
18 changed files with 916 additions and 792 deletions

3
m3o.go
View File

@@ -24,6 +24,7 @@ import (
"go.m3o.com/ip"
"go.m3o.com/location"
"go.m3o.com/mq"
"go.m3o.com/news"
"go.m3o.com/notes"
"go.m3o.com/otp"
"go.m3o.com/postcode"
@@ -75,6 +76,7 @@ func NewClient(token string) *Client {
IpService: ip.NewIpService(token),
LocationService: location.NewLocationService(token),
MqService: mq.NewMqService(token),
NewsService: news.NewNewsService(token),
NotesService: notes.NewNotesService(token),
OtpService: otp.NewOtpService(token),
PostcodeService: postcode.NewPostcodeService(token),
@@ -126,6 +128,7 @@ type Client struct {
IpService *ip.IpService
LocationService *location.LocationService
MqService *mq.MqService
NewsService *news.NewsService
NotesService *notes.NotesService
OtpService *otp.OtpService
PostcodeService *postcode.PostcodeService