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

assets/assets.go   A

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 7
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A assets.Assets 0 2 1
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