Update CI configs to v0.10.6

Update lint scripts and CI configs.
This commit is contained in:
Pion
2023-04-07 20:08:34 +00:00
committed by Sean DuBois
parent d1b7bdbe73
commit 308f8616a3
43 changed files with 100 additions and 75 deletions

View File

@@ -1,6 +1,7 @@
//go:build !js
// +build !js
// custom-logger is an example of how the Pion API provides an customizable logging API
package main
import (
@@ -19,8 +20,8 @@ import (
type customLogger struct{}
// Print all messages except trace
func (c customLogger) Trace(msg string) {}
func (c customLogger) Tracef(format string, args ...interface{}) {}
func (c customLogger) Trace(string) {}
func (c customLogger) Tracef(string, ...interface{}) {}
func (c customLogger) Debug(msg string) { fmt.Printf("customLogger Debug: %s\n", msg) }
func (c customLogger) Debugf(format string, args ...interface{}) {