本站源代码
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

20 linhas
541B

  1. // +build go1.2
  2. package toml
  3. // In order to support Go 1.1, we define our own TextMarshaler and
  4. // TextUnmarshaler types. For Go 1.2+, we just alias them with the
  5. // standard library interfaces.
  6. import (
  7. "encoding"
  8. )
  9. // TextMarshaler is a synonym for encoding.TextMarshaler. It is defined here
  10. // so that Go 1.1 can be supported.
  11. type TextMarshaler encoding.TextMarshaler
  12. // TextUnmarshaler is a synonym for encoding.TextUnmarshaler. It is defined
  13. // here so that Go 1.1 can be supported.
  14. type TextUnmarshaler encoding.TextUnmarshaler
上海开阖软件有限公司 沪ICP备12045867号-1