16 lines
196 B
Go
16 lines
196 B
Go
package monochrome
|
|
|
|
type ClientConfig struct {
|
|
ApiURL string
|
|
}
|
|
|
|
type Client struct {
|
|
config ClientConfig
|
|
}
|
|
|
|
func NewClient(config ClientConfig) *Client {
|
|
return &Client{
|
|
config: config,
|
|
}
|
|
}
|