Skip to content

Commit

Permalink
Value string representation public function (#469)
Browse files Browse the repository at this point in the history
Fixes #468
  • Loading branch information
vincentserpoul authored Feb 3, 2021
1 parent ef48fb2 commit b4f0a95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tomltree_writepub.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package toml

// ValueStringRepresentation transforms an interface{} value into its toml string representation.
func ValueStringRepresentation(v interface{}, commented string, indent string, ord MarshalOrder, arraysOneElementPerLine bool) (string, error) {
return tomlValueStringRepresentation(v, commented, indent, ord, arraysOneElementPerLine)
}

0 comments on commit b4f0a95

Please sign in to comment.