mirror of
https://codeberg.org/scip/anydb.git
synced 2026-07-09 19:24:32 +02:00
clarify template use of .Value
This commit is contained in:
@@ -452,6 +452,14 @@ The following template variables can be used:
|
|||||||
|
|
||||||
=item B<.Value> - string
|
=item B<.Value> - string
|
||||||
|
|
||||||
|
To be able to use the value in a template, you'll need to add the
|
||||||
|
C<-s> flag so that values are included in output data
|
||||||
|
stream. Otherwise you can only use `.Preview`.
|
||||||
|
|
||||||
|
=item B<.Preview> string
|
||||||
|
|
||||||
|
First line of entry value (if it is a string).
|
||||||
|
|
||||||
=item B<.Bin> - []byte
|
=item B<.Bin> - []byte
|
||||||
|
|
||||||
=item B<.Created> - timestamp.Time
|
=item B<.Created> - timestamp.Time
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import (
|
|||||||
"github.com/tlinden/yadu"
|
"github.com/tlinden/yadu"
|
||||||
)
|
)
|
||||||
|
|
||||||
var Version string = "v0.3.0"
|
var Version string = "v0.3.1"
|
||||||
|
|
||||||
type BucketConfig struct {
|
type BucketConfig struct {
|
||||||
Encrypt bool
|
Encrypt bool
|
||||||
|
|||||||
Reference in New Issue
Block a user