2
0

Add defaults for typed_array.go.erb template parameters

Most of the time binary_format is "true", and text_null is "NULL",
so it makes sense to not repeat that.
This commit is contained in:
WGH
2022-03-28 04:57:54 +03:00
committed by Jack Christensen
parent 5ece2efd4c
commit 71648e3d78
2 changed files with 31 additions and 24 deletions
+7
View File
@@ -1,5 +1,12 @@
// Code generated by erb. DO NOT EDIT.
<%
# defaults when not explicitly set on command line
binary_format ||= "true"
text_null ||= "NULL"
%>
package pgtype
import (