fork github.com/doug-martin

This commit is contained in:
2025-03-22 23:02:05 +08:00
commit f14642a736
131 changed files with 34555 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package sqlgen
import "time"
var timeLocation = time.UTC
// Set the location to use when interpolating time.Time instances. See https://golang.org/pkg/time/#LoadLocation
// NOTE: This has no effect when using prepared statements.
func SetTimeLocation(loc *time.Location) {
timeLocation = loc
}
func GetTimeLocation() *time.Location {
return timeLocation
}