github.com/solongordon/pop@v4.10.0+incompatible/nulls/string.go (about)

     1  package nulls
     2  
     3  import (
     4  	"github.com/gobuffalo/nulls"
     5  )
     6  
     7  // String replaces sql.NullString with an implementation
     8  // that supports proper JSON encoding/decoding.
     9  type String nulls.String
    10  
    11  // NewString returns a new, properly instantiated
    12  // String object.
    13  var NewString = nulls.NewString