1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-04 17:27:23 -05:00
v2fly/common/serial/string.go

13 lines
216 B
Go
Raw Normal View History

2015-12-02 10:19:39 -05:00
package serial
2015-12-03 10:57:23 -05:00
// An interface for any objects that has string presentation.
2015-12-02 10:19:39 -05:00
type String interface {
String() string
}
type StringLiteral string
func (this StringLiteral) String() string {
return string(this)
}