mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-11 18:44:26 +00:00
20 lines
242 B
Go
Executable File
20 lines
242 B
Go
Executable File
package m3o
|
|
|
|
import (
|
|
"go.m3o.com/notes"
|
|
)
|
|
|
|
func NewClient(token string) *Client {
|
|
return &Client{
|
|
token: token,
|
|
|
|
NotesService: notes.NewNotesService(token),
|
|
}
|
|
}
|
|
|
|
type Client struct {
|
|
token string
|
|
|
|
NotesService *notes.NotesService
|
|
}
|