Hunterlong/AuthorizeCIM

View on GitHub
authorizecim.go

Summary

Maintainability
A
0 mins
Test Coverage

exported function GetAuthentication should have comment or be unexported
Open

func GetAuthentication() MerchantAuthentication {
Severity: Minor
Found in authorizecim.go by golint

exported function SendRequest should have comment or be unexported
Open

func SendRequest(input []byte) ([]byte, error) {
Severity: Minor
Found in authorizecim.go by golint

exported function SetAPIInfo should have comment or be unexported
Open

func SetAPIInfo(name string, key string, mode string) {
Severity: Minor
Found in authorizecim.go by golint

exported function IsConnected should have comment or be unexported
Open

func IsConnected() (bool, error) {
Severity: Minor
Found in authorizecim.go by golint

don't use MixedCaps in package name; AuthorizeCIM should be authorizecim
Open

package AuthorizeCIM
Severity: Minor
Found in authorizecim.go by golint

exported method AVS.Text should have comment or be unexported
Open

func (r AVS) Text() string {
Severity: Minor
Found in authorizecim.go by golint

don't use underscores in Go names; var api_endpoint should be apiEndpoint
Open

var api_endpoint string = "https://apitest.authorize.net/xml/v1/request.api"
Severity: Minor
Found in authorizecim.go by golint

There are no issues that match your filters.

Category
Status