dto

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	rbac.BaseDTO
}

Base ... DTO

type Example

type Example struct {
	ID dxo.ExampleID `json:"id"`
	Base

	Foo string `json:"foo"`
	Bar int    `json:"bar"`
}

Example ... VO

type ShortLink struct {
	ID dxo.ShortLinkID `json:"id"`

	Base

	Raw     string             `json:"raw"`
	Short   string             `json:"short"`
	Magic   dxo.ShortLinkMagic `json:"magic"`
	MaxAge  lang.Milliseconds  `json:"maxage"`
	Enabled bool               `json:"enabled"`
}

ShortLink ... DTO

Jump to

Keyboard shortcuts

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