mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-23 23:16:45 +00:00
code cleanup
This commit is contained in:
1 parent
ad613a9e3e
commit
5d5102de4c
8 files changed
+29
-29
No files matched your search
@@ -10,10 +10,10 @@ type Uint16Subject struct {
|
||||
}
|
||||
|
||||
func NewUint16Subject(base *Subject, value uint16) *Uint16Subject {
|
||||
subject := new(Uint16Subject)
|
||||
subject.Subject = base
|
||||
subject.value = value
|
||||
return subject
|
||||
return &Uint16Subject{
|
||||
Subject: base,
|
||||
value: value,
|
||||
}
|
||||
}
|
||||
|
||||
func (subject *Uint16Subject) Named(name string) *Uint16Subject {
|
||||
|
||||
Reference in new issue
Block a user