You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package model
|
|
|
|
import (
|
|
"joybuywork/internal/plugins/jsonm"
|
|
"strings"
|
|
)
|
|
|
|
func (m *FissionUserJattr) SetValues(values []string) {
|
|
m.Values = strings.Join(values, ",")
|
|
}
|
|
|
|
func (m *FissionUserJattr) GetValues() (values []string) {
|
|
_ = jsonm.StrUnmarshal(m.Values, &values)
|
|
return
|
|
}
|