model

package
v0.0.0-...-78ceafc Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type             string `json:"type" form:"type" query:"type"`
	Transaction_time string `json:"transaction_time" form:"transaction_time" query:"transaction_time"`
	From             string `json:"from" form:"from" query:"from"`
	To               string `json:"to" form:"to" query:"to"`
	Amount           int    `json:"amount" form:"amount" query:"amount"`
}

type User

type User struct {
	Username      string  `json:"username" form:"username"`
	Password      string  `json:"password" form:"password"`
	Firstname     string  `json:"firstname" form:"firstname"`
	Lastname      string  `json:"lastname" form:"lastname"`
	Accountnumber string  `json:"accountnumber" form:"accountnumber"`
	Nationalid    string  `json:"nationalid" form:"nationalid"`
	Dateofbirth   string  `json:"dateofbirth" form:"dateofbirth"`
	Type          string  `json:"type" form:"type"`
	Interestrate  float32 `json:"interestrate" form:"interestrate"`
}

func (*User) Bind

func (user *User) Bind(c echo.Context) (*User, error)

Jump to

Keyboard shortcuts

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