mirror of https://github.com/jetkvm/kvm.git
chore: skip linting web_embed.go
This commit is contained in:
parent
233d059d90
commit
b0f54d5e45
|
@ -10,3 +10,7 @@ issues:
|
|||
- path: _test.go
|
||||
linters:
|
||||
- errcheck
|
||||
# embedded files haven't been generated yet when linting, so ignore them for now
|
||||
- path: web_embed.go
|
||||
linters:
|
||||
- staticcheck
|
||||
|
|
4
web.go
4
web.go
|
@ -1,7 +1,6 @@
|
|||
package kvm
|
||||
|
||||
import (
|
||||
"embed"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io/fs"
|
||||
|
@ -19,9 +18,6 @@ import (
|
|||
"golang.org/x/crypto/bcrypt"
|
||||
)
|
||||
|
||||
//go:embed all:static
|
||||
var staticFiles embed.FS
|
||||
|
||||
type WebRTCSessionRequest struct {
|
||||
Sd string `json:"sd"`
|
||||
OidcGoogle string `json:"OidcGoogle,omitempty"`
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
package kvm
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed all:static
|
||||
var staticFiles embed.FS
|
Loading…
Reference in New Issue