Paul Lecuq
36c5d6f2ed
- web service with json support - web page - cron service to update database infos
15 lines
284 B
Go
15 lines
284 B
Go
// +build godirwalk_debug
|
|
|
|
package godirwalk
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
// debug formats and prints arguments to stderr for development builds
|
|
func debug(f string, a ...interface{}) {
|
|
// fmt.Fprintf(os.Stderr, f, a...)
|
|
os.Stderr.Write([]byte("godirwalk: " + fmt.Sprintf(f, a...)))
|
|
}
|