micro-config-file/options.go

12 lines
175 B
Go
Raw Permalink Normal View History

package file
import (
"github.com/unistack-org/micro/v3/config"
)
type pathKey struct{}
func Path(path string) config.Option {
return config.SetOption(pathKey{}, path)
}