Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

examples

This folder contains examples of how to use the slog-highlight library.

Each example is a standalone application that can be run with go run main.go.

Examples

  • minimal - Minimal example of how to use the slog-highlight library.
  • multi - Example of how to use the slog-highlight library with multiple loggers. Eg. to log to both Highlight and stdout/stderr.
  • api - Example of how to use the slog-highlight library with the go-chi router.