mirror of
https://github.com/h44z/wg-portal.git
synced 2025-08-11 07:52:24 +00:00
23 lines
302 B
Go
23 lines
302 B
Go
|
package domain
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type BaseModel struct {
|
||
|
CreatedBy string
|
||
|
UpdatedBy string
|
||
|
CreatedAt time.Time
|
||
|
UpdatedAt time.Time
|
||
|
}
|
||
|
|
||
|
type PrivateString string
|
||
|
|
||
|
func (PrivateString) MarshalJSON() ([]byte, error) {
|
||
|
return []byte(`""`), nil
|
||
|
}
|
||
|
|
||
|
func (PrivateString) String() string {
|
||
|
return ""
|
||
|
}
|