piotrkowalczuk / ntypes

Set of types that helps to build complex protobuf messages that contains optional properties.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ntypes GoDoc

CircleCI Code Climate Go Report Card pypi Download

Package provides set of types that helps to build complex protobuf messages that contains optional properties. API can be considered as stable.

Types

Basic

Arrays

Arrays support is not an SQL standard. Extra import needs to be added to make it working with postgres driver:

import _ "github.com/piotrkowalczuk/ntypes/ntypespq"

Interfaces

Some type implements set of interfaces:

Helpers

Besides that each type implements func <Type>Or(<builtin>) <builtin> {} method. It returns given argument if receiver is not valid or is nil. For example: ntypes.Bool.BoolOr.

About

Set of types that helps to build complex protobuf messages that contains optional properties.

License:MIT License


Languages

Language:Go 93.1%Language:Shell 4.3%Language:Python 2.2%Language:Makefile 0.3%