(s string)
| 2405 | } |
| 2406 | |
| 2407 | func (c customLoader) path(s string) string { |
| 2408 | return filepath.Join("testdata", c.prefix, s[len(c.prefix)+1:]) |
| 2409 | } |
| 2410 | |
| 2411 | func (c customLoader) Load(_ context.Context, s string) (string, error) { |
| 2412 | path := c.path(s) |