Add build flag to enable TS2019 (#928)

This commit is contained in:
Kristoffer Dalby
2022-11-04 11:26:33 +01:00
committed by GitHub
parent c31328a54a
commit 527b580f5e
11 changed files with 51 additions and 12 deletions

8
handler_placeholder.go Normal file
View File

@@ -0,0 +1,8 @@
//go:build !ts2019
package headscale
import "github.com/gorilla/mux"
func (h *Headscale) addLegacyHandlers(router *mux.Router) {
}