dto

package
v0.0.0-...-9c22a6a Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptDog

func AdaptDog(d *Dog) *model.CuteDog

Types

type Dog

type Dog struct {
	gorm.Model
	Name string
	Kind string
}

func ConvertCuteDog

func ConvertCuteDog(d *model.CuteDog) *Dog

func UpdateCuteDog

func UpdateCuteDog(target *Dog, source *model.CuteDog) *Dog

func WrapDogResult

func WrapDogResult(result *gorm.DB) *Dog

Jump to

Keyboard shortcuts

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