This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / cmd / spindle / main.go
366 B 24 lines
1package main 2 3import ( 4 "context" 5 "log/slog" 6 "os" 7 8 tlog "tangled.org/core/log" 9 "tangled.org/core/spindle" 10) 11 12func main() { 13 logger := tlog.New("spindle") 14 slog.SetDefault(logger) 15 16 ctx := context.Background() 17 ctx = tlog.IntoContext(ctx, logger) 18 19 err := spindle.Run(ctx) 20 if err != nil { 21 logger.Error("error running spindle", "error", err) 22 os.Exit(-1) 23 } 24}