package
1.7.1
Repository: https://github.com/sinlov-go/go-common-lib.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
StructMemberString2LineRaw convert struct member string to line raw with tag string_tools.StructMemberString2LineRawTag just support as type Foo struct { Name string `string_line_2_raw:"name"` Age int } type Bar struct { Foo Foo Name string `string_line_2_raw:"name"` Age int } bar := Bar{ Foo: Foo{ Name: "Foo\r\n", Age: 18, }, Name: "bob\r", } // change to by struct member tag err := string_tools.StructMemberString2LineRaw(&bar) if err != nil { t.Error(err) } // some with struct newBar := Bar{ Foo: Foo{ Name: `Foo\n`, Age: 18, }, Name: `bob\n`, }.

# Constants

No description provided by the author