mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 04:31:28 +00:00
beam/data: Message.Bytes() convenience method
Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
@@ -45,3 +45,7 @@ func (m Message) Del(k string) Message {
|
||||
func (m Message) String() string {
|
||||
return string(m)
|
||||
}
|
||||
|
||||
func (m Message) Bytes() []byte {
|
||||
return []byte(m)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user