19 lines
271 B
Go
19 lines
271 B
Go
//go:build !embed
|
||
// +build !embed
|
||
|
||
package web
|
||
|
||
import (
|
||
"net/http"
|
||
)
|
||
|
||
// GetFileSystem 返回 nil(开发模式不嵌入前端)
|
||
func GetFileSystem() http.FileSystem {
|
||
return nil
|
||
}
|
||
|
||
// IsEmbedded 返回前端是否已嵌入
|
||
func IsEmbedded() bool {
|
||
return false
|
||
}
|