Bug fix: Bytea nil values aren't stored as null in database.

This commit is contained in:
go-jet 2019-06-12 16:21:50 +02:00
parent c598978ba6
commit 038a4b9dd0
6 changed files with 29 additions and 15 deletions

View file

@ -41,6 +41,10 @@ func stringPtr(s string) *string {
return &s
}
func byteArrayPtr(arr []byte) *[]byte {
return &arr
}
func float32Ptr(f float32) *float32 {
return &f
}