Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseTypeOf ¶
func BaseValueOf ¶
func FullyQualifiedName ¶
func FullyQualifiedName(e interface{}) string
func Link ¶
func Link(src, ptr interface{}) (err error)
Link will make destination interface be linked with the src value.
Example ¶
package main import ( "github.com/adamluzsi/frameless/fixtures" "github.com/adamluzsi/frameless/reflects" ) type Example struct { Name string } var RandomName = fixtures.Random.String() func main() { var src = Example{Name: RandomName} var dest Example if err := reflects.Link(src, &dest); err != nil { // handle err } }
Output:
func SymbolicName ¶
func SymbolicName(e interface{}) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.