Passed
Pull Request — main (#177)
by Yume
02:23 queued 42s
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
//go:build dev
2
// +build dev
3
4
package assets
5
6
import (
7
	"net/http"
8
)
9
10
func Assets() http.FileSystem {
11
	return http.Dir("assets")
12
}
13