Value string representation public function (#469)

Fixes #468
This commit is contained in:
Vincent Serpoul
2021-02-03 21:48:53 +08:00
committed by GitHub
parent ef48fb2be1
commit b4f0a950bf
+6
View File
@@ -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)
}