countgo

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package countgo counts files with extension ".go" in fs.FS. It also shows how to use fs.FS in tests.

Based on bitfieldconsulting.com/golang/filesystems.

Level: intermediate Topics: io/fs, testing/fstest, path/filepath

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Files

func Files(fsys fs.FS) (count int)

Types

This section is empty.

Directories

Path Synopsis
Countgo counts files with .go extension in supplied directory or in ".".
Countgo counts files with .go extension in supplied directory or in ".".

Jump to

Keyboard shortcuts

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