Files
GaCy-GO/assets_default.go
2026-10-28 18:54:43 +07:00

19 lines
562 B
Go

//go:build !ship
package runtimeassets
import (
"io/fs"
)
// ReadFile returns ErrNotExist in ordinary builds, which continue to use the
// editable files in the project directory.
func ReadFile(name string) ([]byte, error) { return nil, fs.ErrNotExist }
// ReadDir returns ErrNotExist in ordinary builds, which continue to use the
// editable files in the project directory.
func ReadDir(name string) ([]fs.DirEntry, error) { return nil, fs.ErrNotExist }
// Bootstrap is intentionally a no-op outside shipping builds.
func Bootstrap() error { return nil }