micro-config-file/options.go
Vasiliy Tolstov 38851a57bf
Some checks failed
dependabot-automerge / automerge (pull_request) Has been skipped
prbuild / test (pull_request) Failing after 1m29s
prbuild / lint (pull_request) Failing after 2m37s
autoapprove / autoapprove (pull_request) Failing after 1m25s
automerge / automerge (pull_request) Failing after 5s
codeql / analyze (go) (pull_request) Failing after 3m8s
update for latest micro changes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-14 23:50:12 +03:00

12 lines
174 B
Go

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