gitee.com/mirrors_u-root/u-root@v7.0.0+incompatible/pkg/complete/vars.go (about) 1 // Copyright 2012-2018 the u-root Authors. All rights reserved 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package complete 6 7 import "errors" 8 9 // Debug is a package level variable which can be 10 // set to, e.g., log.Printf if you want lots of debug. 11 var ( 12 Debug = func(s string, v ...interface{}) {} 13 ErrEOL = errors.New("end of line") 14 ErrEmptyEnv = errors.New("empty environment variable") 15 )