schemas

package
v0.0.0-...-1fbd98d Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Member

type Member struct {
	gorm.Model
	GithubID string
	Login    string
	URL      string
	Role     string
	TeamID   int
	Team     Team
}

type MemberResponse

type MemberResponse struct {
	ID        uint      `json:"id"`
	GithubID  string    `json:"github_id"`
	CreatedAt time.Time `json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt"`
	DeletedAt time.Time `json:"deteledAt,omitempty"`
	Login     string    `json:"login"`
	URL       string    `json:"html_url"`
	Role      string    `json:"role"`
	Team      Team      `json:"team"`
}

type PingResponse

type PingResponse struct {
	Message string `json:"message"`
	Status  int    `json:"status"`
}

type Team

type Team struct {
	gorm.Model
	Name string
}

type TeamResponse

type TeamResponse struct {
	ID        uint      `json:"id"`
	CreatedAt time.Time `json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt"`
	DeletedAt time.Time `json:"deteledAt,omitempty"`
	Name      string    `json:"name"`
}

Jump to

Keyboard shortcuts

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