gitlab.com/evatix-go/core@v1.3.55/cmd/main/NullPrinter.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"gitlab.com/evatix-go/core/isany"
     7  )
     8  
     9  func NullPrinter(index int, item interface{}) {
    10  	fmt.Println(index, "- {(defined, isnull, ==nil, %T} == ",
    11  		isany.Defined(item),
    12  		isany.Null(item),
    13  		item == nil,
    14  		fmt.Sprintf("%T", item))
    15  }