models

package
v0.0.0-...-f682ce8 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package models contains application specific entities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	ID          int    `json:"-"`
	Github      string `json:"github"`
	Address     string `json:"address"`
	RequestDate int64  `json:"request_date,omitempty"`
}

Request holds specific application settings linked to an Account.

func (*Request) Validate

func (p *Request) Validate() error

Validate validates Request struct and returns validation errors.

Jump to

Keyboard shortcuts

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