package
Version:
v2.2.5
Opens a new window with list of versions in this module.
Published: Jul 13, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package generator implements the custom initialization of all the fields of an empty interface.
func Generate(element interface{})
Generate recursively initializes an empty structure, calling SetDefaults on each field, when it applies.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.