src: Add DMA localagent
[barometer.git] / src / dma / vendor / github.com / BurntSushi / toml / encoding_types.go
1 // +build go1.2
2
3 package toml
4
5 // In order to support Go 1.1, we define our own TextMarshaler and
6 // TextUnmarshaler types. For Go 1.2+, we just alias them with the
7 // standard library interfaces.
8
9 import (
10         "encoding"
11 )
12
13 // TextMarshaler is a synonym for encoding.TextMarshaler. It is defined here
14 // so that Go 1.1 can be supported.
15 type TextMarshaler encoding.TextMarshaler
16
17 // TextUnmarshaler is a synonym for encoding.TextUnmarshaler. It is defined
18 // here so that Go 1.1 can be supported.
19 type TextUnmarshaler encoding.TextUnmarshaler