Debian Codegraph @

helpers/nocolor/nocolor.go

raw symbols SCIP
1 // Copyright (c) 2021, Maxime Soulé
2 // All rights reserved.
3 //
4 // This source code is licensed under the BSD-style license found in the
5 // LICENSE file in the root directory of this source tree.
6
7 // Package nocolor is only intended to easily disable coloring output
8 // of failure reports, typically useful in golang playground.
9 //
10 // Simply import it, and nothing else:
11 //
12 // import _ "github.com/maxatome/go-testdeep/helpers/nocolor"
13 package nocolorscip-go gomod github.com/maxatome/go-testdeep . `github.com/maxatome/go-testdeep/helpers/nocolor`/
14
15 import "osscip-go gomod github.com/golang/go/src go1.18 os/"
16
17 func initscip-go gomod github.com/maxatome/go-testdeep . `github.com/maxatome/go-testdeep/helpers/nocolor`/init().() {
18 osscip-go gomod github.com/golang/go/src go1.18 os/.Setenvscip-go gomod github.com/golang/go/src go1.18 os/Setenv().("TESTDEEP_COLOR", "off") //nolint: errcheck
19 }