br0xen / boltbrowser

A CLI Browser for BoltDB Files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Support for other Data Types

br0xen opened this issue · comments

Currently boltbrowser will only save ascii values back into the DB.
It'd be nice to have it check:

  1. if the value is currently in the ascii range of bytes, if so, let things work as they are.
  2. If not, prompt the user for a data type.

My current thought is that other supported data types would just be the basic go types:

  • bool
  • int, int8, int16, int32, int64
  • uint, uint8, uint16, uint32, uint64, uintptr (doubt if we actually need that one)
  • byte
  • float32, float64
  • complex64, complex128

Eventually, I would like to add support for custom data types, probably through the use of go plugins:
https://golang.org/pkg/plugin/

I believe that doing this should mostly resolve pull request #31 and alleviate issue #37

Note: I don't know how many of those are actually needed.