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