mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-19 10:56:06 -05:00
13 lines
216 B
Go
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)
|
|
}
|