Skip to content

platinasystems/mute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Package mute provides an encapsulation with no-op Print methods.

See example,

$ go test -run Example -v
=== RUN   TestExample
error immutable
error mutable
info done
--- PASS: TestExample (0.00s)
PASS
ok      github.com/platinasystems/mute  0.001s
$ go test -run Example -v --verbose
=== RUN   TestExample
error immutable
error mutable
info hello world
info done
--- PASS: TestExample (0.00s)
PASS
ok      github.com/platinasystems/mute  0.001s
$ go test -run Example -v --quiet
=== RUN   TestExample
error immutable
info done
--- PASS: TestExample (0.00s)
PASS
ok      github.com/platinasystems/mute  0.001s

© 2022 Platina Systems, Inc. All rights reserved. Use of this source code is governed by this BSD-style LICENSE.

About

an encapsulation with no-op Print methods

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages