go-tools/cmd/ev/app.twtxt.go

18 lines
258 B
Go
Raw Permalink Normal View History

2023-09-29 10:31:25 -06:00
package main
import (
"context"
"go.sour.is/pkg/lg"
"go.sour.is/pkg/service"
)
var _ = apps.Register(50, func(ctx context.Context, svc *service.Harness) error {
_, span := lg.Span(ctx)
defer span.End()
span.AddEvent("Enable Twtxt")
return nil
})