test

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MongoexportPath = "/root/bin/mongoexport"

MongoexportPath variable for unit test

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFileInfo

type MockFileInfo struct {
}

MockFileInfo used for unit test

func (MockFileInfo) IsDir

func (MockFileInfo) IsDir() bool

IsDir implement fs.FileInfo.IsDir()

func (MockFileInfo) ModTime

func (MockFileInfo) ModTime() time.Time

ModTime implement fs.FileInfo.ModTime()

func (MockFileInfo) Mode

func (MockFileInfo) Mode() fs.FileMode

Mode implement fs.FileInfo.Mode()

func (MockFileInfo) Name

func (MockFileInfo) Name() string

Name implement fs.FileInfo.Name()

func (MockFileInfo) Size

func (MockFileInfo) Size() int64

Size implement fs.FileInfo.Size()

func (MockFileInfo) Sys

func (MockFileInfo) Sys() interface{}

Sys implement fs.FileInfo.Sys()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL