first compiling version
This commit is contained in:
parent
60fb40d61a
commit
3d54199faa
27 changed files with 908 additions and 243 deletions
|
|
@ -40,8 +40,8 @@ func Generate(name string, size int, enc core.Encoding) (k core.Key, err error)
|
|||
Name: name,
|
||||
ID: id,
|
||||
Size: size,
|
||||
Encoding: enc.String(),
|
||||
Key: enc.Encode(key),
|
||||
Encoding: enc,
|
||||
Key: enc.EncodeToString(key),
|
||||
Created: time.Now().Unix(),
|
||||
}
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue