Documentation ¶
Index ¶
Constants ¶
View Source
const LogoBB = `` /* 7618-byte string literal not displayed */
View Source
const LogoBradesco = `` /* 4804-byte string literal not displayed */
View Source
const LogoCaixa = `` /* 6394-byte string literal not displayed */
View Source
const LogoCiti = `` /* 5766-byte string literal not displayed */
View Source
const LogoItau = `` /* 1906-byte string literal not displayed */
View Source
const LogoJPMorgan = `` /* 9584-byte string literal not displayed */
View Source
const LogoPefisa = `` /* 4744-byte string literal not displayed */
View Source
const LogoSantander = `` /* 6878-byte string literal not displayed */
View Source
const LogoStone = `` /* 8006-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func HTML ¶
func HTML(boletoView models.BoletoView, format string) (string, error)
HTML renderiza HTML do boleto
func MinifyHTML ¶
func MinifyHTML(bv models.BoletoView) string
MinifyHTML Minifica o HTML do um boleto a partir de um boletoView
Types ¶
type ConfigBank ¶
type ConfigBank struct { Logo template.HTML EspecieDoc string Aceite string Quantidade string ValorCotacao string Moeda string }
ConfigBank configure html template for each bank
func GetConfig ¶
func GetConfig(boleto models.BoletoRequest) ConfigBank
GetConfig returns boleto configution for each bank
type HTMLBoleto ¶
type HTMLBoleto struct { View models.BoletoView ConfigBank ConfigBank Barcode64 string Format string DigitableLine string }
Click to show internal directories.
Click to hide internal directories.