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
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
12 lines
174 B
Go
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)
|
|
}
|