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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user