Documentation ¶
Overview ¶
Package pathio is a package that allows writing to and reading from different types of paths transparently. It supports two types of paths:
- Local file paths
- S3 File Paths (s3://bucket/key)
Note that using s3 paths requires setting three environment variables
- AWS_SECRET_ACCESS_KEY
- AWS_ACCESS_KEY_ID
- AWS_REGION
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Reader ¶
Reader returns an io.Reader for the specified path. The path can either be a local file path or an S3 path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.