filesystem

package
v0.5.18 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 8 Imported by: 0

README

サンプルリスト

このディレクトリには以下のサンプルがあります。

file example name note
dirfs.go fileio_filesystem_dirfs os.DirFS() を利用してファイルの読み込みを行うサンプルです.
readdir.go fileio_filesystem_readdir os.ReadDir() を使ったサンプルです.
listdir.go fileio_filesystem_listdir os.DirFS() から fs.Glob() 経由で ディレクトリ 内のファイル一覧を出力するサンプルです.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirFS added in v0.2.9

func DirFS() error

DirFS は、 os.DirFS() を利用してファイルの読み込みを行うサンプルです.

REFERENCES:

func Listdir added in v0.2.9

func Listdir() error

Listdir -- os.DirFS() から fs.Glob() 経由で ディレクトリ 内のファイル一覧を出力するサンプルです.

func NewRegister

func NewRegister() mapping.Register

func NotExists added in v0.2.9

func NotExists() error

NotExists -- ファイルの存在チェックを行うサンプルです.

REFERENCES

func ReadDir added in v0.2.9

func ReadDir() error

ReadDir は、 os.ReadDir() を使ったサンプルです.

Types

This section is empty.

Jump to

Keyboard shortcuts

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