mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
31 lines
482 B
Plaintext
31 lines
482 B
Plaintext
@go.Package { name = "github.com/onsonr/sonr/motr/api/bake" }
|
|
|
|
module bake
|
|
|
|
import "package://pkg.pkl-lang.org/pkl-go/pkl.golang@0.5.0#/go.pkl"
|
|
|
|
class JsonField extends go.Field {
|
|
structTags {
|
|
["json"] = "%{name},omitempty"
|
|
}
|
|
}
|
|
|
|
abstract class Macroon {
|
|
id: String
|
|
location: String
|
|
}
|
|
|
|
abstract class FirstPartyCaveats {
|
|
scope: String
|
|
exp: Int
|
|
cnf: String
|
|
aud: String
|
|
}
|
|
|
|
abstract class ThirdPartyCaveats {
|
|
scope: String
|
|
exp: Int
|
|
cnf: String
|
|
aud: String
|
|
}
|