1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-06 22:05:27 -04:00

rename 'this'

This commit is contained in:
Darien Raymond
2016-11-27 21:39:09 +01:00
parent d00f8eef56
commit f95c322677
135 changed files with 2351 additions and 2351 deletions

View File

@@ -29,20 +29,20 @@ type ID struct {
cmdKey [IDBytesLen]byte
}
func (this *ID) Equals(another *ID) bool {
return this.uuid.Equals(another.uuid)
func (v *ID) Equals(another *ID) bool {
return v.uuid.Equals(another.uuid)
}
func (this *ID) Bytes() []byte {
return this.uuid.Bytes()
func (v *ID) Bytes() []byte {
return v.uuid.Bytes()
}
func (this *ID) String() string {
return this.uuid.String()
func (v *ID) String() string {
return v.uuid.String()
}
func (this *ID) UUID() *uuid.UUID {
return this.uuid
func (v *ID) UUID() *uuid.UUID {
return v.uuid
}
func (v ID) CmdKey() []byte {