Commit Graph

  • 212eabc8be change ref from gitlab.wow.st to git.wow.st. master gmp 2023-10-10 10:58:34 -0400
  • 814c6ffa20 Add Debug variable to control verbose output. Greg 2019-02-07 10:18:53 -0500
  • 20c89c6e56 Functional options to persist.Init(). Greg 2018-08-30 09:23:21 -0400
  • 24d96151f4 Test changes. Greg 2018-08-10 08:19:32 -0400
  • 17beaca380 Allow configuration of tidy functions. Use a closure to decide what entries to delete. The closure takes a *bolt.Bucket and returns an integer of the number of entries deleted. Greg 2018-08-09 18:21:52 -0400
  • d6f4920507 Add DeleteSync() to generate/template.go. Greg 2018-08-09 16:15:00 -0400
  • 9653dab9f4 History() now returns the correct type. Added Save(), SaveSync(), Load() and Delete() to template. Greg 2018-08-09 11:33:22 -0400
  • c52d8702b2 Do not save Var.Time to the database. Greg 2018-08-09 09:58:40 -0400
  • ee4657a0ed Put the Time field into persist.Var. persist.TVar is no longer needed, History() now returns []Var. Greg 2018-08-09 09:29:59 -0400
  • 384de4d02c Simplify generate.go to only look at ast nodes Ident, TypeSwitchStmt, and FuncDecl. Greg 2018-08-06 13:58:12 -0400
  • 4c5821c7d5 Refactor pgen to use a visitor struct instead of globals. Greg 2018-08-06 12:35:35 -0400
  • 2f95327892 Move code generator into its own package. Greg 2018-08-06 12:14:16 -0400
  • 33821928c9 Move all file handling into main.go. Greg 2018-08-06 12:11:15 -0400
  • 62c409292b Parse comments in the template and write them to the output files. Greg 2018-08-06 11:06:33 -0400
  • bc06994bcf Fix import handling. Handle multiple packages per directory and save each output package to a different file. Greg 2018-08-06 11:04:25 -0400
  • 3329fe75df Refactor gen.go into Generator type. Greg 2018-08-06 10:01:40 -0400
  • 1c3bab0dcc Simplified type handling. Greg 2018-08-04 16:39:39 -0400
  • ee4f005b6c Allow users to pass options to persist.New(). Support for bools. Greg 2018-08-04 16:03:00 -0400
  • 100f65f83a pgen: discover types for composite literals. Greg 2018-08-04 15:41:34 -0400
  • 0d662564aa Bug fix in gen.go: do not try to write if there is no output. Greg 2018-08-03 16:39:01 -0400
  • 56ab75dcc2 Changes to test/basic. Confirm that named imports work. Greg 2018-08-03 15:17:04 -0400
  • 8f78a6c6d2 Register types with encoding/gob. Rewrite test/basic. Greg 2018-08-03 15:14:10 -0400
  • b880a5671d Initial commit. Greg 2018-08-03 15:08:30 -0400