Put project modules under pkg directory
This commit is contained in:
parent
f4684be37d
commit
e1516e450b
13 changed files with 7 additions and 7 deletions
16
pkg/cgnolink/link/entity.go
Normal file
16
pkg/cgnolink/link/entity.go
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
package link
|
||||
|
||||
import (
|
||||
"net/url"
|
||||
"time"
|
||||
)
|
||||
|
||||
type Link struct {
|
||||
Id string
|
||||
Name string
|
||||
RedirectURL url.URL
|
||||
Password string
|
||||
CreationTime time.Time
|
||||
}
|
||||
|
||||
type Links = []*Link
|
||||
Loading…
Add table
Add a link
Reference in a new issue