1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-27 20:46:51 -05:00
v2fly/common/serial/string.go
2015-12-03 16:57:23 +01:00

13 lines
216 B
Go

package serial
// An interface for any objects that has string presentation.
type String interface {
String() string
}
type StringLiteral string
func (this StringLiteral) String() string {
return string(this)
}