common

module
v0.0.0-...-ddaf306 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT

README

A bunch of Go packages that I use in multiple projects.

An overview of packages:

  • u : utility functions that I use all the time. Very short package name is on purpose
  • atomicfile : write to a file, atomically
  • filerotate : implements a file you can write to and rotates on a schedule (e.g. daily or hourly). I use it for log files
  • siser : Simple Serialization format
  • server : a very specific abstraction over http server that allows me to write http server that is dynamic during dev (e.g. generates .html files from templates) and can be turned into a fully static website easily

Directories

Path Synopsis
To write to files in a robust way we should:
To write to files in a robust way we should:
u

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL