diff --git a/cmd/docs/main.go b/cmd/docs/main.go index 179fba86..040897a5 100644 --- a/cmd/docs/main.go +++ b/cmd/docs/main.go @@ -66,7 +66,7 @@ func getParams() (params []Param, err error) { err = vm.Execute(context.Background(), ` (handler (fn [param] (def {:name name :docstring doc :default default} param) - (register name doc (string default) (string (type default))) + (register name doc (string/format "%n" default) (string (type default))) )) `) if err != nil {