Codebase list golang-github-showmax-go-fqdn / debian/1.0.0-2 log_debug.go
debian/1.0.0-2

Tree @debian/1.0.0-2 (Download .tar.gz)

log_debug.go @debian/1.0.0-2raw · history · blame

// +build DEBUG

package fqdn

import "fmt"

func debug(s string, v ...interface{}) {
	if s[len(s)-1] != '\n' {
		s += string('\n')
	}
	fmt.Printf(s, v...)
}