core

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 1 Imported by: 0

README

core

Core package for Golang.

Install

go get github.com/innotechdevops/core

How to use

  • Compare Password
got := gobcrypt.ComparePassword(hashedPwd, plainPwd)
  • Hash Password
got, err := gobcrypt.HashPassword(password)

Documentation

Index

Constants

View Source
const (
	FlagIgnore      = 0
	FlagAvailable   = 1
	FlagUnavailable = 2
	FlagUpdate      = 3
	FlagDelete      = 4
	Online          = 1
	Offline         = 0
	Active          = 1
	Inactive        = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	CreatedAt time.Time `json:"createdAt,omitempty" db:"created_at"`
	UpdatedAt time.Time `json:"updatedAt,omitempty" db:"updated_at"`
}

type Params

type Params struct {
	OffsetNo int64
	LimitNo  int64
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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