micro-config-file/options.go

12 lines
167 B
Go
Raw Normal View History

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