mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-13 00:28:49 +00:00
13 lines
252 B
Go
13 lines
252 B
Go
package libbox
|
|
|
|
// https://github.com/golang/go/issues/46893
|
|
// TODO: remove after `bulkBarrierPreWrite: unaligned arguments` fixed
|
|
|
|
type StringBox struct {
|
|
Value string
|
|
}
|
|
|
|
func wrapString(value string) *StringBox {
|
|
return &StringBox{Value: value}
|
|
}
|