WithTimezone passes Location to date() and now() functions.
| 8 | |
| 9 | // WithTimezone passes Location to date() and now() functions. |
| 10 | type WithTimezone struct { |
| 11 | Location *time.Location |
| 12 | } |
| 13 | |
| 14 | func (t WithTimezone) Visit(node *ast.Node) { |
| 15 | if btin, ok := (*node).(*ast.BuiltinNode); ok { |
nothing calls this directly
no outgoing calls
no test coverage detected