Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-11-02 13:52:46 +00:00
parent fa2e8a5283
commit 476fc61f51
18 changed files with 671 additions and 513 deletions

3
m3o.go
View File

@@ -23,6 +23,7 @@ import (
"go.m3o.com/image"
"go.m3o.com/ip"
"go.m3o.com/location"
"go.m3o.com/mq"
"go.m3o.com/notes"
"go.m3o.com/otp"
"go.m3o.com/postcode"
@@ -72,6 +73,7 @@ func NewClient(token string) *Client {
ImageService: image.NewImageService(token),
IpService: ip.NewIpService(token),
LocationService: location.NewLocationService(token),
MqService: mq.NewMqService(token),
NotesService: notes.NewNotesService(token),
OtpService: otp.NewOtpService(token),
PostcodeService: postcode.NewPostcodeService(token),
@@ -121,6 +123,7 @@ type Client struct {
ImageService *image.ImageService
IpService *ip.IpService
LocationService *location.LocationService
MqService *mq.MqService
NotesService *notes.NotesService
OtpService *otp.OtpService
PostcodeService *postcode.PostcodeService