helpers

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 5 Imported by: 1

README

Go Functions Helper

Installation

go get github.com/Girein/helpers-go

Functions

// ToDateTimeString converts DateTime into string with Y-m-d H:i:s format
func ToDateTimeString(dateTime time.Time) string {}

// GormOpen returns database connection
func GormOpen(driver string) *gorm.DB {}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GormOpen added in v1.0.1

func GormOpen(driver string) *gorm.DB

GormOpen returns database connection

func ToDateTimeString

func ToDateTimeString(dateTime time.Time) string

ToDateTimeString converts DateTime into string with Y-m-d H:i:s format

Types

This section is empty.

Jump to

Keyboard shortcuts

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