mirror of
https://github.com/weaveworks/scope.git
synced 2026-05-01 23:07:40 +00:00
17 lines
271 B
Go
17 lines
271 B
Go
package main
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/weaveworks/scope/prog/externalui"
|
|
"github.com/weaveworks/scope/prog/staticui"
|
|
)
|
|
|
|
func GetFS(use_external bool) http.FileSystem {
|
|
if use_external {
|
|
return externalui.FS(false)
|
|
} else {
|
|
return staticui.FS(false)
|
|
}
|
|
}
|