From d40058c3cee7d44efec086c3e29dc46223451c6f Mon Sep 17 00:00:00 2001 From: Patrick O'brien Date: Fri, 19 Aug 2016 19:56:27 +1000 Subject: [PATCH] Fix output of randomizer --- boil/randomize/randomize.go | 2 +- strmangle/strmangle.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()