/formatter

Get string with named arguments

Primary LanguageGoMIT LicenseMIT

How To Use

go get github.com/mingkyme/formatter
import "github.com/mingkyme/formatter"

str := formatter.Formating("Hi @{name}", map[string]string{
  "name": "MINGKYME",
}) // Hi MINGKYME