func NewCustom(endpoint string, client *http.Client) (*AtomicAssets, error) {
	if endpoint == "" {
		return nil, errors.New("endpoint provided is blank")
	}

	if client == nil {
		return nil, errors.New("custom http.Client is nil")
	}

	return &AtomicAssets{
		apiUrl: endpoint,
		client: client,
	}, nil
}
// Create a new AtomicAssets instance with custom api endpoint and http client.
Create a new AtomicAssets instance with custom api endpoint and http client.
// Create a new AtomicAssets instance with custom api endpoint and http client .
func NewCustom(endpoint string, client *http.Client) (*AtomicAssets, error) {
	if endpoint == "" {
		return nil, errors.New("endpoint provided is blank")
	}
	if client == nil {
		return nil, errors.New("custom http.Client is nil")
	}
	return &AtomicAssets{
		apiUrl: endpoint,
		client: client,
	}, nil
}
func NewCustom ( endpoint string , client * http . Client ) ( * AtomicAssets , error ) { if endpoint == " " { return nil , errors . New ( " " ) } if client == nil { return nil , errors . New ( " " ) } return & AtomicAssets { apiUrl : endpoint , client : client , } , nil }
Create a new AtomicAssets instance with custom api endpoint and http client.
Create a new AtomicAssets instance with custom api endpoint and http client .