code cleanup

This commit is contained in:
V2Ray committed 2015-09-20 13:08:05 +02:00
1 parent ad613a9e3e
commit 5d5102de4c
8 files changed
+29 -29

No files matched your search

+4 -4
View File
@@ -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 {