package
0.0.0-20240801144731-47dd8fd20290
Repository: https://github.com/mactsouk/mastering-go-3rd.git
Documentation: pkg.go.dev
# README
What if a textfile ends without a newline?
As this is not mentioned in the Mastering Go, 3rd edition book, I have included separate version of byWord.go
, byLine.go
and byCharacter.go
named byWord_noNewLine.go
, byLine_noNewLine.go
and byCharacter_noNewLine.go
, respectively that show how to handle plain text files that do not end with a newline character.
Enjoy!
# Functions
DeSerialize decodes a serialized slice with JSON records.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Serialize serializes a slice with JSON records.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Ignoring empty fields in JSON.
Removing private fields and ignoring empty fields.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author