recordTypes

package
v0.0.0-...-a4947f9 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 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 Profile

type Profile struct {
	XMLNS       string                           `xml:"xmlns,attr,omitempty"`
	RecordTypes []*models.RecordTypeVisibilities `xml:"recordTypeVisibilities,omitempty"`
}

func (Profile) First

func (p Profile) First() interface{}

This method is used to get the first element of the Profile.

func (Profile) Len

func (p Profile) Len() int

Profile implements sort.Interface by providing Less and using the Len and Swap methods of the embedded RecordTypes value.

func (Profile) Less

func (p Profile) Less(i, j int) bool

func (Profile) Name

func (p Profile) Name() string

This method is used to get the Name of this component as the tab name of the excel workbook.

func (Profile) Swap

func (p Profile) Swap(i, j int)

func (Profile) Values

func (p Profile) Values() map[*structs.Field][]interface{}

Get all values mapped with fields.

Jump to

Keyboard shortcuts

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