func shortDescriptionInterface(in interface{}) {
	var date int64

	if reflect.ValueOf(in).Kind() == reflect.Struct {
		fmt.Println("Is a struct")
		nameFunction := reflect.TypeOf(in).Name()
		fmt.Println("Struct name: " + nameFunction)
		for i := 0; i < reflect.ValueOf(in).NumField(); i++ {
			nameAtribute := reflect.TypeOf(in).Field(i).Name
			fmt.Println("Field name: " + nameAtribute)
			attribute := reflect.ValueOf(in).Field(i).String()
			fmt.Println("Value: " + attribute)

			if reflect.TypeOf(in).Field(i).Type == reflect.TypeOf(date) {
				// Is an int64
				valueNewAttribute, _ := reflect.ValueOf(in).Field(i).Interface().(int64)
				fmt.Print("Value: ")
				fmt.Println(valueNewAttribute)
			}
		}
	}
}
// This method iterates over the Attributes of an Struct, and print all the information about the structure
This method iterates over the Attributes of an Struct, and print all the information about the structure
// This method iterates over the Attributes of an Struct and print all the information about the structure
func shortDescriptionInterface(in interface{}) {
	var date int64
	if reflect.ValueOf(in).Kind() == reflect.Struct {
		fmt.Println("Is a struct")
		nameFunction := reflect.TypeOf(in).Name()
		fmt.Println("Struct name: " + nameFunction)
		for i := 0; i < reflect.ValueOf(in).NumField(); i++ {
			nameAtribute := reflect.TypeOf(in).Field(i).Name
			fmt.Println("Field name: " + nameAtribute)
			attribute := reflect.ValueOf(in).Field(i).String()
			fmt.Println("Value: " + attribute)
			if reflect.TypeOf(in).Field(i).Type == reflect.TypeOf(date) {
				valueNewAttribute, _ := reflect.ValueOf(in).Field(i).Interface().(int64)
				fmt.Print("Value: ")
				fmt.Println(valueNewAttribute)
			}
		}
	}
}
func shortDescriptionInterface ( in interface { } ) { var date int64 if reflect . ValueOf ( in ) . Kind ( ) == reflect . Struct { fmt . Println ( " " ) nameFunction := reflect . TypeOf ( in ) . Name ( ) fmt . Println ( " " + nameFunction ) for i := 0 ; i < reflect . ValueOf ( in ) . NumField ( ) ; i ++ { nameAtribute := reflect . TypeOf ( in ) . Field ( i ) . Name fmt . Println ( " " + nameAtribute ) attribute := reflect . ValueOf ( in ) . Field ( i ) . String ( ) fmt . Println ( " " + attribute ) if reflect . TypeOf ( in ) . Field ( i ) . Type == reflect . TypeOf ( date ) { valueNewAttribute , _ := reflect . ValueOf ( in ) . Field ( i ) . Interface ( ) . ( int64 ) fmt . Print ( " " ) fmt . Println ( valueNewAttribute ) } } } }
This method iterates over the Attributes of an Struct, and print all the information about the structure
This method iterates over the Attributes of an Struct and print all the information about the structure
// Is an int64