models

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	ID        uint   `gorm:"primaryKey"`
	AppKey    string `gorm:"type:varchar(255)"`
	Logs      string `gorm:"type:text"`
	CreatedAt string `gorm:"type:varchar(255)"`
}

create log model for postgres database

func (Log) TableName

func (Log) TableName() string

create foreignkey for Appkey id in Log struct

Jump to

Keyboard shortcuts

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