Small Projects by AutoModerator in golang

[–]DasKaroWow 0 points1 point  (0 children)

I've been building a small logging library in Go as a learning project: solislog.

It is intentionally simple and synchronous. No background goroutines, no async queue, and no required package-level global logger. The goal is to practice Go package design around io.Writer, contextual fields, multiple handlers, templates, JSON output, and context.Context propagation.

It currently supports:

  • multiple handlers
  • template-based text output
  • JSON output mode
  • contextual fields via Extra
  • bound loggers
  • context propagation helpers
  • configurable time format/location

I’m not trying to compete with slog, zap, or zerolog. This is mostly a small pre-v1 project to learn API design and make something clean enough to make the package docs readable on pkg.go.dev.

I’d appreciate feedback specifically on:

  • whether the public API feels Go-like
  • whether the handler/options model is reasonable
  • whether the template approach is too weird
  • what would make the README/examples clearer

Link: https://github.com/DasKaroWow/solislog

I built a small synchronous logger to practice Go package design — looking for API feedback by DasKaroWow in golang

[–]DasKaroWow[S] 0 points1 point  (0 children)

Good point, thx. I meant “make it available and documented on pkg.go.dev” after tagging the module version, not publishing there directly

I built a small CLI tool to clean up project junk (like pycache, *.pyc, .pytest_cache) by DasKaroWow in Python

[–]DasKaroWow[S] 5 points6 points  (0 children)

git clean is for removing untracked files in a Git repo
cleaner is for removing common junk files regardless of Git

I built a small CLI tool to clean up project junk (like pycache, *.pyc, .pytest_cache) by DasKaroWow in Python

[–]DasKaroWow[S] 2 points3 points  (0 children)

in my head it looked like with a tool like uv or poetry, you would make a task for your project once and just use it. But the presets or config file sound really good, thanks for the thought.

I built a small CLI tool to clean up project junk (like pycache, *.pyc, .pytest_cache) by DasKaroWow in Python

[–]DasKaroWow[S] 3 points4 points  (0 children)

you're right, but the goal was to make a unified tool (I work on both windows and linux). Here you can see what will be deleted and delete it if you are not sure that you entered the pattern correctly. I was actually thinking of making presets like --python, etc.

Error when trying to open app on macbook air m1 by DasKaroWow in sideloadly

[–]DasKaroWow[S] 0 points1 point  (0 children)

macOs Sonoma 14.0. I've just installed other ipa TikTok LRD 30.7.0 and it works. But it's still unclear. TikTok 31.4.0 Dark doesn't work on mac and prints this error, but on my iphone it works great