dp-observation-importer: github.com/ONSdigital/dp-observation-importer/csv Index | Files

package csv

import "github.com/ONSdigital/dp-observation-importer/csv"


Package Files


type Header struct {
    // contains filtered or unexported fields

Header represent the CSV header row of an import file.

func NewHeader Uses

func NewHeader(header []string) *Header

NewHeader returns a new header instance for the given header row string.

func (Header) DimensionOffset Uses

func (header Header) DimensionOffset() (int, error)

DimensionOffset returns the number of columns before the start of the dimension columns.

Package csv imports 2 packages (graph) and is imported by 1 packages. Updated 2019-04-04. Refresh now. Tools for package owners.