model

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kamtibmas added in v0.0.4

type Kamtibmas struct {
	ID          primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Kecamatan   string             `bson:"kecamatan,omitempty" json:"kecamatan,omitempty"`
	Kelurahan   string             `bson:"kelurahan,omitempty" json:"kelurahan,omitempty"`
	Pelanggaran string             `bson:"jenis_pelanggaran_kamtibmas,omitempty" json:"jenis_pelanggaran_kamtibmas,omitempty"`
	Lokasi      string             `bson:"lokasi_rawan_kamtibmas,omitempty" json:"lokasi_rawan_kamtibmas,omitempty"`
}

type User

type User struct {
	ID              primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	FirstName       string             `bson:"firstname,omitempty" json:"firstname,omitempty"`
	LastName        string             `bson:"lastname,omitempty" json:"lastname,omitempty"`
	Email           string             `bson:"email,omitempty" json:"email,omitempty"`
	Password        string             `bson:"password,omitempty" json:"password,omitempty"`
	Confirmpassword string             `bson:"confirmpass,omitempty" json:"confirmpass,omitempty"`
	Salt            string             `bson:"salt,omitempty" json:"salt,omitempty"`
}

Jump to

Keyboard shortcuts

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