transformer

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 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 ProfileTransform

type ProfileTransform struct {
	Login string `json:"login"`
	Name  string `json:"name"`
}

type ProfileTransformer

type ProfileTransformer[Model model.Profile] struct {
}

func NewProfileTransformer

func NewProfileTransformer[Model model.Profile]() *ProfileTransformer[Model]

func (ProfileTransformer[Model]) Transform

func (r ProfileTransformer[Model]) Transform(m *Model) interface{}

func (ProfileTransformer[Model]) TransformList

func (r ProfileTransformer[Model]) TransformList(m *Model) interface{}

func (ProfileTransformer[Model]) TransformProfile

func (r ProfileTransformer[Model]) TransformProfile(m *Model) interface{}

Jump to

Keyboard shortcuts

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