Documentation ¶
Overview ¶
Package godoc_vfs contains a driver that reads migrations from a virtual file system.
Implementations of the filesystem interface that read from zip files and maps, as well as the definition of the filesystem interface can be found in the golang.org/x/tools/godoc/vfs package.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithInstance ¶
WithInstance creates a new driver from a virtual file system. If a tree named searchPath exists in the virtual filesystem, WithInstance searches for migration files there. It defaults to "/".
Types ¶
type VFS ¶
type VFS struct { httpfs.PartialDriver // contains filtered or unexported fields }
VFS is an implementation of driver that returns migrations from a virtual file system.
Click to show internal directories.
Click to hide internal directories.