mirror of
https://github.com/h44z/wg-portal.git
synced 2025-08-10 07:22: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 ""
|
|
}
|