core

package module
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: MIT Imports: 4 Imported by: 1

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

func Query added in v1.0.5

func Query(rawURL string) url.Values

func ToQuery added in v1.0.5

func ToQuery(params map[string]string) string

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
}

Jump to

Keyboard shortcuts

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