This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"comps/app" | |
appversion "comps/apps/app" | |
"comps/apps/auth" | |
"comps/apps/config" | |
"comps/apps/dfe/cce" | |
"comps/apps/dfe/cfop" | |
"comps/apps/dfe/inutilizacao" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const app = express(); | |
const originalGet = app.get; | |
app.get = (route, ...handlers) => { | |
const wrappedHandlers = handlers.map(handler => { | |
return async (req, res, next) => { | |
try { | |
await handler(req, res, next); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"comps/app" | |
appversion "comps/apps/app" | |
"comps/apps/auth" | |
"comps/apps/config" | |
"comps/apps/dfe/cce" | |
"comps/apps/dfe/cfop" | |
"comps/apps/dfe/inutilizacao" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// You can edit this code! | |
// Click here and start typing. | |
package main | |
import ( | |
"errors" | |
"fmt" | |
) | |
type OrderItem struct { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package utils | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"github.com/sirupsen/logrus" | |
"io" | |
"io/ioutil" | |
"net/http" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang=pt-br> | |
<meta charset=utf-8> | |
<meta name=viewport content="width=device-width,initial-scale=1"> | |
<title>PEDIDO</title> | |
<style> .coluna { | |
padding: 3px; | |
} | |
.coluna .caption { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"gorm.io/driver/postgres" | |
"gorm.io/gorm" | |
"io/ioutil" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "1wM5Ftk2GlWl8dr148IIkQX0j2M", | |
"obs": "TESTE DE OBSERVACAO DE NFE, TESTANDO MUITOS CATECRES VALIDOSFFF", | |
"tipo": "nfe", | |
"chave": "24210819843657000149550010000002241271318611", | |
"serie": 1, | |
"total": 5561.92, | |
"numero": 224, | |
"pessoa": { | |
"nome": "RODRIGO RODRIGUES DA COSTA", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "1wgSClZh60Sffmwlxzt0y53MCfl", | |
"tipo": "nfe", | |
"chave": "24210819843657000149550010000003521984980930", | |
"serie": 1, | |
"total": 181.94, | |
"numero": 352, | |
"pessoa": { | |
"id": "1wLtlpGBiVHcX7p2lT2C9srX1xd", | |
"nome": "FERNANDA CARBAL DE ANDRADE", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package utils | |
import ( | |
"bytes" | |
"comps/errors" | |
"encoding/json" | |
"fmt" | |
"github.com/sirupsen/logrus" | |
"io/ioutil" | |
"net/http" |
NewerOlder