11
options.go
Normal file
11
options.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package file
|
||||
|
||||
import (
|
||||
"github.com/unistack-org/micro/v3/config"
|
||||
)
|
||||
|
||||
type pathKey struct{}
|
||||
|
||||
func Path(path string) config.Option {
|
||||
return config.SetOption(pathKey{}, path)
|
||||
}
|
Reference in New Issue
Block a user