transformer

package
Version: v0.0.0-...-bb88183 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIErrorToError

func APIErrorToError(label string, apiError *errors.APIError) error

APIErrorToError converts API descriptive error object to error

func ConnectionToEntityConnection

func ConnectionToEntityConnection(connection v2.Connection) entity.Connection

ConnectionToEntityConnection converts API connection to entity connection

func ConnectionsToConnectionsEntityCollection

func ConnectionsToConnectionsEntityCollection(connections v2.ConnectionList) entity.ConnectionCollection

ConnectionsToConnectionsEntityCollection converts API connection collection to entity collection

func TransactionToEntityTransaction

func TransactionToEntityTransaction(transaction v2.Transaction) entity.Transaction

TransactionToEntityTransaction converts transaction to entity transaction

func UserToUserEntity

func UserToUserEntity(user v2.User) *entity.User

UserToUserEntity converts API user format to user entity

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL