This website requires JavaScript.
Explore
Help
Register
Sign in
mdebray
/
tvl-depot
Watch
1
Star
0
Fork
You've already forked tvl-depot
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
8d36c6d00f
tvl-depot
/
gopkgs
/
kv
/
default.nix
9 lines
86 B
Nix
Raw
Normal View
History
Unescape
Escape
Remove default values for Nix expression parameters I'm not sure if this commit breaks everything in my monorepo. I think it will. Why am I doing this? Perhaps it's a bad idea. I don't fully understand how readTree works. My ignorance is costing me hours of time spent debugging. In an effort to better understand readTree, I'm removing the default values for my Nix expression parameters, which I believe have preventing errors from surfacing.
2020-02-23 23:29:32 +01:00
{
depot
,
.
.
.
}:
Support simple key-value store In order to persist my access and refresh tokens, I needed a store. I think using a database like SQLite may have been fine for this but was heavier weight than what I wanted. I decided to write a simple key-value store when the state is encoded and JSON in a file called kv.json. TODO: - Support field nesting - Support better error handling - Support parameterizing the store path (i.e. ./kv.json)
2020-02-09 14:41:27 +01:00
depot
.
buildGo
.
package
{
name
=
"
k
v
"
;
srcs
=
[
./kv.go
]
;
}
Reference in a new issue
Copy permalink