diff --git a/boil/randomize/randomize.go b/boil/randomize/randomize.go index 75856a2..89e516a 100644 --- a/boil/randomize/randomize.go +++ b/boil/randomize/randomize.go @@ -207,7 +207,7 @@ func randomizeField(s *Seed, field reflect.Value, fieldType string, canBeNull bo } if value == nil { - return errors.Errorf("unsupported type: %T", typ.String()) + return errors.Errorf("unsupported type: %s", typ.String()) } field.Set(reflect.ValueOf(value)) diff --git a/strmangle/strmangle.go b/strmangle/strmangle.go index 703c304..a012ad3 100644 --- a/strmangle/strmangle.go +++ b/strmangle/strmangle.go @@ -237,7 +237,7 @@ func PrefixStringSlice(str string, strs []string) []string { } // Placeholders generates the SQL statement placeholders for in queries. -// For example, ($1,$2,$3),($4,$5,$6) etc. +// For example, ($1,$2,$3),($4,$5, $6) etc. // It will start counting placeholders at "start". func Placeholders(count int, start int, group int) string { buf := GetBuffer()