memo.go 222 B

12345678910111213141516
  1. package mipfs
  2. import (
  3. "github.com/peterbourgon/diskv"
  4. )
  5. var memo *diskv.Diskv
  6. func init() {
  7. memo = diskv.New(diskv.Options{
  8. BasePath: ".memo",
  9. Transform: func(s string) []string {
  10. return []string{}
  11. },
  12. })
  13. }