patrickpissurno / vredis

Redis client for V, written in V
MIT License
67 stars 10 forks source link

how do you import? #3

Closed ralyodio closed 3 years ago

ralyodio commented 3 years ago
$ v install patrickpissurno.redis
 81 fn setup() vredis.Redis {
 82   redis := vredis.connect(vredis.ConnOpts{}) or {
 83     panic(err)
 84   }
 85   return redis
 86 }

this errors with:

$ v run app.v                     
app.v:81:12: error: unknown module `vredis`
   79 | }
   80 | 
   81 | fn setup() vredis.Redis {
      |            ~~~~~~
   82 |     redis := vredis.connect(vredis.ConnOpts{}) or {
   83 |         panic(err)
patrickpissurno commented 3 years ago

See #4.