Skip to content
This repository was archived by the owner on Nov 17, 2021. It is now read-only.

Conversation

@SimonRichardson
Copy link

No description provided.

@mattn
Copy link
Owner

mattn commented Oct 21, 2015

you should do type assertion like below.

if use, ok := boolString[strings.ToLower(possible)]; ok {
    useHttps = use
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants