identPath creates a PathOptions for the given identifier.
(ident string, opts ...Option)
| 458 | |
| 459 | // identPath creates a PathOptions for the given identifier. |
| 460 | func identPath(ident string, opts ...Option) *PathOptions { |
| 461 | path := &PathOptions{Ident: ident} |
| 462 | for i := range opts { |
| 463 | opts[i](path) |
| 464 | } |
| 465 | return path |
| 466 | } |
| 467 | |
| 468 | func (p *PathOptions) Query() (string, []any) { |
| 469 | return p.Ident, nil |
no outgoing calls
no test coverage detected
searching dependent graphs…