domain

package
v0.0.0-...-535f382 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FirestoreConnect

type FirestoreConnect struct {
	Collection string
	Name       string
	Address    string
}

FirestoreConnect はfirestore接続する構造体

type Images

type Images struct {
	ImageName string    `gorm:"image_name"`
	ImagePath string    `gorm:"image_path"`
	CreatedAt time.Time `gorm:"created_at"`
}

Images は画像アップロードの構造体

type Temperature

type Temperature struct {
	ID        uint      `gorm:"primary_key" csv:"ID"`
	Humi      string    `gorm:"not null" csv:"湿度"`
	Temp      string    `gorm:"not null" csv:"温度"`
	CreatedAt time.Time `csv:"作成日時"`
}

Temperature 温度の入出力構造体

type Twitter

type Twitter struct {
	ID        int       `gorm:"primary_key"`
	Message   string    `gorm:"message"`
	CreatedAt time.Time `gorm:"created_at"`
	UpdatedAt time.Time `gorm:"updated_at"`
}

Temperature 温度の入出力構造体

Jump to

Keyboard shortcuts

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