kelseyhightower / envconfig

Golang library for managing configuration data from environment variables
MIT License
5.01k stars 377 forks source link

Allow colons in values for map fields #171

Open justinruggles opened 4 years ago

justinruggles commented 4 years ago

A common use case for this is putting a URL in a map value.

This PR is similar to https://github.com/kelseyhightower/envconfig/pull/153 but it only does the 1 thing needed to put values with colons (e.g. URLs) in a map without using a custom type.

hori-ryota commented 3 years ago

duplicated.

Replace Split to SplitN for contains colon value map by hori-ryota · Pull Request #133 · kelseyhightower/envconfig