userfactory

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package userfactory contains a factory for user entity.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(userBytes []byte) (*entity.User, error)

New returns and instance of User. Byte array param "userBytes" responsible for user data from user query. If json.Unmarshal occurs any error, this will be returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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