Categorygithub.com/ringover/nulltype/v3
modulepackage
3.0.2
Repository: https://github.com/ringover/nulltype.git
Documentation: pkg.go.dev

# README

NullType

Description

This package provides some types representing a type that may be null. NullType implements the sql.Scanner, json.Unmarshaler and json.Marshaler interface for :

  • time.Time
  • string
  • int64
  • int32
  • int16
  • int8
  • uint64
  • uint32
  • uint16
  • uint8
  • bool
  • float64
  • uuid.UUID

NullType and omitempty

By default NullType struct are not empty. To make omitempty tag functional on not valid NullType you have to call EncoderRegister() at the beginning of your program.

Authors

  • Mickael ROUSSE
  • Vincent PEREZ
  • Corentin Gaspart

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewUUID creates a valid null.UUID using a uuid.UUID.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RawBytes is a byte slice that holds a reference to memory owned by the database itself.
No description provided by the author