-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added tables visualization #133
Conversation
Ok, I think I fixed them. |
if err := db.View(func(readTx *bolt.Tx) error { | ||
return readTx.ForEach(func(name []byte, b *bolt.Bucket) error { | ||
|
||
if i == 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't even need this check here, either. Just the call StartCluster
. Then, you can change return b.ForEach(...)
on the line 130 to if err := b.ForEach(..); err != nil { return err }
, and then just put EndCluster
after that
@@ -84,3 +84,38 @@ func Vertical(w io.Writer, hex []byte, highlighted int, name string, indexColors | |||
>]; | |||
`) | |||
} | |||
|
|||
func Horizzontal(w io.Writer, hex []byte, highlighted int, name string, indexColors []string, fontColors []string, compression int) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is spelled with a single z
…n in WSL2 environment when Windows Path is added to the path of Linux, more information can be found here: golang/go#49166 (#133)
…l-check Check if superchain hardfork time is nil
#127 Added Buckets Visualion in pics