Skip to content

Commit dd84bca

Browse files
committed
rename form.Pretty to form.SprintJSON
1 parent 8c46948 commit dd84bca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

form/form.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type Form interface{}
1313

1414
type None struct{}
1515

16-
func Pretty(form Form) string {
16+
func SprintJSON(form Form) string {
1717
data, err := json.MarshalIndent(form, "", " ")
1818
if err != nil {
1919
panic(err)

0 commit comments

Comments
 (0)