hugo: github.com/gohugoio/hugo/resources/images/exif Index | Files

package exif

import "github.com/gohugoio/hugo/resources/images/exif"

Index

Package Files

exif.go

func ExcludeFields Uses

func ExcludeFields(expression string) func(*Decoder) error

func IncludeFields Uses

func IncludeFields(expression string) func(*Decoder) error

func WithDateDisabled Uses

func WithDateDisabled(disabled bool) func(*Decoder) error

func WithLatLongDisabled Uses

func WithLatLongDisabled(disabled bool) func(*Decoder) error

type Decoder Uses

type Decoder struct {
    // contains filtered or unexported fields
}

func NewDecoder Uses

func NewDecoder(options ...func(*Decoder) error) (*Decoder, error)

func (*Decoder) Decode Uses

func (d *Decoder) Decode(r io.Reader) (ex *Exif, err error)

type Exif Uses

type Exif struct {
    Lat  float64
    Long float64
    Date time.Time
    Tags Tags
}

type Tags Uses

type Tags map[string]interface{}

func (Tags) MarshalJSON Uses

func (v Tags) MarshalJSON() ([]byte, error)

func (*Tags) UnmarshalJSON Uses

func (v *Tags) UnmarshalJSON(b []byte) error

Package exif imports 12 packages (graph) and is imported by 18 packages. Updated 2019-09-17. Refresh now. Tools for package owners.