Add support to migrate gogs: * issues * comments * labels * milestones * wiki Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Andrew Thornton <art27@cantab.net>
		
			
				
	
	
		
			20 lines
		
	
	
		
			483 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			483 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Copyright 2019 The Gitea Authors. All rights reserved.
 | |
| // Copyright 2018 Jonas Franz. All rights reserved.
 | |
| // Use of this source code is governed by a MIT-style
 | |
| // license that can be found in the LICENSE file.
 | |
| 
 | |
| package base
 | |
| 
 | |
| import "time"
 | |
| 
 | |
| // Milestone defines a standard milestone
 | |
| type Milestone struct {
 | |
| 	Title       string
 | |
| 	Description string
 | |
| 	Deadline    *time.Time
 | |
| 	Created     time.Time
 | |
| 	Updated     *time.Time
 | |
| 	Closed      *time.Time
 | |
| 	State       string // open, closed
 | |
| }
 |