glaciers-in-archives/snowman

View on GitHub
internal/template/function/remote.go

Summary

Maintainability
A
40 mins
Test Coverage

Function GetRemoteWithConfig has 6 return statements (exceeds 4 allowed).
Open

func GetRemoteWithConfig(uri interface{}, config map[interface{}]interface{}) (*string, error) {
    preparedUri := cast.ToString(uri)

    _, err := url.Parse(preparedUri)
    if err != nil {
Severity: Major
Found in internal/template/function/remote.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status