func (t *TabFile) AllStandardFields() []int {
	all := make([]int, 0)

	seen := make(map[int]struct{})

	for _, v := range append(t.Include.Standard, t.Exclude.Standard...) {
		if _, exists := seen[v.FieldID]; exists {
			continue
		}

		all = append(all, v.FieldID)
	}

	return all
}
// Read over the data in this tab file and retrieve the FieldIDs for any
// 'standard' data type, which is neither HESIN data nor the special fields that
// are paired with dates.
Read over the data in this tab file and retrieve the FieldIDs for any
'standard' data type, which is neither HESIN data nor the special fields that
are paired with dates.
// Read over the data in this tab file and retrieve the FieldIDs for any // ' standard ' data type which is neither HESIN data nor the special fields that // are paired with dates .
func (t *TabFile) AllStandardFields() []int {
	all := make([]int, 0)
	seen := make(map[int]struct{})
	for _, v := range append(t.Include.Standard, t.Exclude.Standard...) {
		if _, exists := seen[v.FieldID]; exists {
			continue
		}
		all = append(all, v.FieldID)
	}
	return all
}
func ( t * TabFile ) AllStandardFields ( ) [ ] int { all := make ( [ ] int , 0 ) seen := make ( map [ int ] struct { } ) for _ , v := range append ( t . Include . Standard , t . Exclude . Standard ... ) { if _ , exists := seen [ v . FieldID ] ; exists { continue } all = append ( all , v . FieldID ) } return all }
Read over the data in this tab file and retrieve the FieldIDs for any
'standard' data type, which is neither HESIN data nor the special fields that
are paired with dates.
Read over the data in this tab file and retrieve the FieldIDs for any ' standard ' data type which is neither HESIN data nor the special fields that are paired with dates .