opcotech/elemo

View on GitHub
internal/license/license.go

Summary

Maintainability
A
35 mins
Test Coverage
B
88%

Function NewLicense has 8 return statements (exceeds 7 allowed).
Open

func NewLicense(licenseKey, pubKey string) (*License, error) {
    var err error

    key, err := lk.PublicKeyFromB32String(pubKey)
    if err != nil {
Severity: Major
Found in internal/license/license.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status