models

package
v0.0.0-...-2771b56 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 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 CreatePartnerInput

type CreatePartnerInput struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Location    string `json:"location"`
}

type CreatePartnerOutput

type CreatePartnerOutput struct {
	Id string `json:"id"`
}

type DeletePartnerInput

type DeletePartnerInput struct {
	Id string `json:"id"`
}

type Partner

type Partner struct {
	Id          string
	Name        string
	Location    string
	Description string
}

type PartnerMongo

type PartnerMongo struct {
	Id          primitive.ObjectID `bson:"_id,omitempty"`
	Name        string             `bson:"name"`
	Location    string             `bson:"location"`
	Description string             `bson:"description"`
}

Jump to

Keyboard shortcuts

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