Internal

internal/fs

github.com/gin-gonic/gin/internal/fs

import "github.com/gin-gonic/gin/internal/fs"

Types

type FileSystem

Source: internal/fs/fs.go:9

FileSystem implements an [fs.FS].

type FileSystem struct {
	http.FileSystem
}
Fields
  • http.FileSystem

func Open(name string) (fs.File, error)

Source: internal/fs/fs.go:14

Open passes Open to the upstream implementation and return an [fs.File].