Showing 2 of 2 total issues
Method Client.init
has 5 return statements (exceeds 4 allowed). Open
Open
func (client *Client) init() error {
if !client.shouldInit {
C.SetPixImage(client.api, client.pixImage)
return nil
Method Client.SetImage
has 5 return statements (exceeds 4 allowed). Open
Open
func (client *Client) SetImage(imagepath string) error {
if client.api == nil {
return ErrClientNotConstructed
}