Skip to content

Reposition qfs to wrap the values package #16

@b5

Description

@b5

In concrete terms this means progressively enhancing the File interface to deal in value.Value:

type File interface {
  io.ReadCloser
	FileName() string
	FullPath() string
	IsDirectory() bool
	NextFile() (File, error)
  ModTime() time.Time
  Size()
  MediaType() string

  Value() interface{}
}

The goal is to eventually end here:

type File interface {
  Path() string
  Size() int64
  ModTime() time.Time
  MediaType() string

  Value() interface{}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions