Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 833 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 833 Bytes

convar - A Quake-like console implementation for games go.dev reference

Features

  • Type-safe
  • int, bool, float64, string primitive types
  • Special func type that accepts a single argument of any primitive type
  • Variables can trigger a callback function when set/updated
  • Everything is concurrent safe
  • Case insensitive variable names
  • Helper functions (see docs)
  • Saving/loading variables to/from a file
  • Simple command evaluation/execution
  • Simple autocomplete

Installation

go get -u github.com/tapir/convar

Examples

Check out the _examples folder. screenshot