Dao

package
v0.0.0-...-1e3a357 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COLLECTION0000           = "reg0000"
	COLLECTION0100           = "reg0100"
	COLLECTION0150           = "reg0150"
	COLLECTION0190           = "reg0190"
	COLLECTION0200           = "reg0200"
	COLLECTION0220           = "reg0220"
	COLLECTIONC100           = "regC100"
	COLLECTIONC170           = "regC170"
	COLLECTIONC190           = "regC190"
	COLLECTIONC400           = "regC400"
	COLLECTIONC405           = "regC405"
	COLLECTIONC420           = "regC420"
	COLLECTIONC425           = "regC425"
	COLLECTIONC460           = "regC460"
	COLLECTIONC465           = "regC465"
	COLLECTIONC470           = "regC470"
	COLLECTIONC490           = "regC490"
	COLLECTIONH005           = "regH005"
	COLLECTIONH010           = "regH010"
	COLLECTIONNFEPROC        = "nfeProc"
	COLLECTIONNFESEMVALIDADE = "nfeSemValidade"
	COLLECTIONNFEINUTILIZADA = "nfeInutilizada"
	COLLECTIONNFEEVENTO      = "nfeEvento"
	COLLECTIONCTEEVENTO      = "cteEvento"
	COLLECTIONCTE            = "cteProc"
	COLLECTIONRESEVENTO      = "resEvento"
)

Variables

This section is empty.

Functions

func InserirCteProc

func InserirCteProc(colecao string, procCte Model.CteProc, conn *bongo.Connection)

func InserirEventoCte

func InserirEventoCte(colecao string, procEventoCte Model.ProcEventoCTe, conn *bongo.Connection)

func InserirEventoNfe

func InserirEventoNfe(colecao string, procEventoNfe Model.ProcEventoNFe, conn *bongo.Connection)

func InserirNfeProc

func InserirNfeProc(colecao string, nota Model.NfeProc, conn *bongo.Connection)

InserirNfeProcMongo : Inserir no banco de dados mongo com o bongo

func InserirNfeProcSemValidade

func InserirNfeProcSemValidade(colecao string, nota Model.NFe, conn *bongo.Connection)

func InserirResEvento

func InserirResEvento(colecao string, resEvento Model.ResEvento, conn *bongo.Connection)

func InserirRetornoNfeInutilizada

func InserirRetornoNfeInutilizada(colecao string, inutilizada Model.RetInutNfe, conn *bongo.Connection)

Types

This section is empty.

Jump to

Keyboard shortcuts

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