mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-27 20:46:51 -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)
|
|
}
|