initial import

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-12-11 02:11:49 +03:00
commit 468af3ba46
7 changed files with 737 additions and 0 deletions

11
options.go Normal file
View 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)
}