You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							46 lines
						
					
					
						
							1015 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							46 lines
						
					
					
						
							1015 B
						
					
					
				| package tag | |
| 
 | |
| type Tag struct { | |
| 	ID          string  `json:"id"` | |
| 	ParentID    *string `json:"parentId"` | |
| 	OwnerID     string  `json:"ownerId"` // The user who can change the tag | |
| 	Name        string  `json:"name"` | |
| 	Kind        Kind    `json:"kind"` | |
| 	Description string  `json:"description"` | |
| 	Listed      bool    `json:"listed"` // Whether to list it for search | |
| 	Secret      bool    `json:"secret"` // Only owners can see it | |
| } | |
| 
 | |
| type Kind int | |
| 
 | |
| const ( | |
| 	// TKOrganization is an organization, faction or group | |
| 	TKOrganization = 1 << iota | |
| 	// TKLocation is a settlement, building, planet, etc.... Icon: Pin | |
| 	TKLocation | |
| 	// TKEvent is a specific event | |
| 	TKEvent | |
| 	// TKPlot is a larger plot | |
| 	TKPlot | |
| 	// TKSeries is a thread of content that's not exactly a plot/event | |
| 	TKSeries | |
| ) | |
| 
 | |
| /* | |
| L Aite | |
|   L Freedom Falls | |
|     LO Miner's Respite | |
|   L Derrai Union | |
|     L Derrai | |
|     L Aroste | |
|       L Aroste | |
| P "The Collectors" | |
|  | |
| P "Rellis Stuff" | |
|   E Rellis' Contract | |
|   E Familial Ties | |
|   E Skipping Work | |
|   E Sala's Backlog | |
| S Anywhere but Here | |
|  | |
| */
 |