Discover Packages
github.com/puneetsharma52/go-lang-book-solutions
Chapter-12
ex12.4
package
Version:
v0.0.0-...-a8a07f9
Opens a new window with list of versions in this module.
Published: Nov 9, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Pretty-print by putting each struct, slice, or map element on its own line and indenting so that opening parens for elements of the same object are left-aligned.
Expand ▾
Collapse ▴
Documentation
¶
ex12.4 is a codec for s-expressions, with pretty-printing.
Marshal encodes a Go value in S-expression form.
func Unmarshal(data []byte , out interface{}) (err error )
!+Unmarshal
Unmarshal parses S-expression data and populates the variable
whose address is in the non-nil pointer out.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.