# README

Install

go get github.com/ihatiko/environ@latest

Description

todo

Api

package main

import (
	"os"

	"github.com/ihatiko/environ"
)

type A struct {
	Field1 string
}

func main() {
	os.Setenv("Field1", "customvalue")
	result := new(A)
	environ.Parse(result) // after parse result.Field1 equals customvalue
}

Supported

url.Url

time.Duration

time.Time (format "2006-01-02 15:04:05")

# Functions

No description provided by the author
ParseCustom parses a custom value based on its type.
No description provided by the author

# Variables

No description provided by the author