summaryrefslogtreecommitdiff
path: root/struct.go
diff options
context:
space:
mode:
Diffstat (limited to 'struct.go')
-rw-r--r--struct.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/struct.go b/struct.go
index a20c244..2b7538a 100644
--- a/struct.go
+++ b/struct.go
@@ -1,5 +1,9 @@
package main
+import (
+ "sync"
+)
+
type Story struct {
Id int
//Deleted bool
@@ -24,3 +28,8 @@ type Link struct {
type URL struct {
}
+
+type syncMaxItem struct {
+ max_item int
+ mu sync.Mutex
+}