Passed
Push — main ( 35bff0...003d10 )
by Yume
03:29 queued 01:21
created

assets.Assets   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
package assets
2
3
import (
4
	"embed"
5
	"net/http"
6
)
7
8
//go:embed fonts/* img/* js/* css/*
9
var assetsFS embed.FS
10
11
func Assets() http.FileSystem {
12
	return http.FS(assetsFS)
13
}
14