gohelpers

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToDatabase

func ConnectToDatabase() (*gorm.DB, error)

Types

type APIDate

type APIDate struct {
	time.Time
}

func (APIDate) MarshalJSON

func (ad APIDate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface

func (*APIDate) UnmarshalJSON

func (ad *APIDate) UnmarshalJSON(b []byte) error

UnmarshalJSON implements the json.Unmarshaler interface

Jump to

Keyboard shortcuts

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