init
This commit is contained in:
15
monochrome/client.go
Normal file
15
monochrome/client.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package monochrome
|
||||
|
||||
type ClientConfig struct {
|
||||
ApiURL string
|
||||
}
|
||||
|
||||
type Client struct {
|
||||
config ClientConfig
|
||||
}
|
||||
|
||||
func NewClient(config ClientConfig) *Client {
|
||||
return &Client{
|
||||
config: config,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user