update go-ucan, with the now spec defined container
https://github.com/ucan-wg/go-ucan/blob/main/pkg/container/SPEC.md
This commit is contained in:
committed by
Michael Muré
parent
f18ae547ab
commit
09c8815755
@@ -36,10 +36,10 @@ func ExampleNewClient() {
|
||||
handleError(err)
|
||||
|
||||
// this container holds the invocation and all the delegation proofs
|
||||
b64, err := cont.ToCborBase64()
|
||||
b64, err := cont.ToBase64StdPadding()
|
||||
handleError(err)
|
||||
|
||||
fmt.Println(string(b64))
|
||||
fmt.Println(b64)
|
||||
}
|
||||
|
||||
func handleError(err error) {
|
||||
|
||||
Reference in New Issue
Block a user