Versions in this module Expand all Collapse all v1 v1.0.1 Jul 20, 2021 v1.0.0 Jun 16, 2021 Changes in this version + const Bd + const GB + const GBd + const KB + const KBd + const MB + const MBd + const TB + func ArchivoSplit(s string) (dir string, file string) + func CompletarCeros(cadena string, orientacion int, cantidad int) string + func CompletarEspacios(cadena string, orientacion int, cantidad int) string + func DiasDelMes(fecha time.Time) int + func EjecutarScript() (err error) + func EliminarEspacioBlanco(cadena string) string + func EliminarGuionesFecha(cadena string) string + func EliminarPuntoDecimal(cadena string) string + func EliminarUnderScore(cadena string) string + func Error(e error) + func Fatal(e error) + func GenerarHash256(password []byte) (encry string) + func GenerarMD5(text string) (encry string) + func GetFechaConvert(f sql.NullString) (dateStamp time.Time) + func GitAll(paquete string, cmd string, origen string) (out []byte, err error) + func PesoHumano(length int, decimals int) (out string) + func ReemplazarGuionesPorSlah(cadena string) string + func Sh(script string, flags string, sIP string) (out []byte, err error) + func ShPing(script string, flags string, sIP string) (estatus bool) + func Utf8_decode(str string) string + func ValidarNullFloat64(b sql.NullFloat64) (f float64) + func ValidarNullString(b sql.NullString) (s string) + func ValidarNullTime(b interface{}) (t time.Time) + type Archivo struct + Archivo *os.File + Cabecera string + Canal chan []byte + CantidadLineas int + Codificacion string + Fecha string + Leer bool + NombreDelArchivo string + PostgreSQL *sql.DB + Registros int + Responsable int + Ruta string + Salvar bool + func (a *Archivo) Crear(ruta string) (err error) + func (a *Archivo) Escribir(ruta string, contenido string) (err error) + func (a *Archivo) LeerTodo() (f []byte, err error) + type Directorio struct + Listado []string + Ruta string + func (D *Directorio) Listar(ruta string, esDirectorio bool) error + type EstatusDisco struct + Libre uint64 + Todo uint64 + Usado uint64 + func DetalleDisco(path string) (disk EstatusDisco) + type Mensajes struct + Contenido interface{} + Fecha time.Time + Msj string + Responsable int + Tipo int + type NullTime struct + Time time.Time + Valid bool + type TiempoProceso struct + Duracion time.Duration + Fin time.Time + Inicio time.Time + type Traza struct + Base string + Documento string + Duracion TiempoProceso + IP string + Log string + Mensaje interface{} + Opcional interface{} + PesoOperacion string + Resultado interface{} + TextoDuracion string + Time time.Time + Usuario string + func (t *Traza) Crear() (err error)