Add linting stage.

This commit is contained in:
2025-11-15 13:05:00 -08:00
parent 3135c18d95
commit a5b7727c8f
5 changed files with 27 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ func Example() {
map[string]string{"when": time.Now().String()})
}
func ExampleNewFromFile() {
func ExampleNewSplitFile() {
flog, err := logging.NewSplitFile("example.log", "example.err", true)
if err != nil {
log.Fatal("filelog", "failed to open logger",