null

package
v0.0.0-...-d0f7b5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package null handles marshalling of SQL NULL to and from plain text for formats that do not have a native definition equivalent to NULL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoding

type Encoding string

Encoding defines how SQL NULL is encoded in text.

func (Encoding) Decode

func (n Encoding) Decode(s *string) string

Decode returns n if s is nil.

func (Encoding) Encode

func (n Encoding) Encode(s string) *string

Encode returns nil if s == n and n is not the empty string.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL