Simplify GitHub templates
This commit is contained in:
		
							parent
							
								
									706b8f55da
								
							
						
					
					
						commit
						21fb3ae1fe
					
				
							
								
								
									
										21
									
								
								.github/ISSUE_TEMPLATE.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								.github/ISSUE_TEMPLATE.md
									
									
									
									
										vendored
									
									
								
							| @ -1,10 +1,4 @@ | |||||||
| Before posting a bug report about a problem, please try to verify that it is a bug and that it has not been reported already, please apply corresponding GitHub labels to the issue, for feature requests, please apply `type:feature`. | Your issue may already be reported! Please search on the [issue track](https://github.com/jinzhu/gorm/issues) before creating one. | ||||||
| 
 |  | ||||||
| DON'T post usage related questions, ask in https://gitter.im/jinzhu/gorm or http://stackoverflow.com/questions/tagged/go-gorm, |  | ||||||
| 
 |  | ||||||
| Please answer these questions before submitting your issue. Thanks! |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 | 
 | ||||||
| ### What version of Go are you using (`go version`)? | ### What version of Go are you using (`go version`)? | ||||||
| 
 | 
 | ||||||
| @ -12,9 +6,9 @@ Please answer these questions before submitting your issue. Thanks! | |||||||
| ### Which database and its version are you using? | ### Which database and its version are you using? | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ### What did you do? | ### Please provide a complete runnable program to reproduce your issue. **IMPORTANT** | ||||||
| 
 | 
 | ||||||
| Please provide a complete runnable program to reproduce your issue. | Need to runnable with [GORM's docker compose config](https://github.com/jinzhu/gorm/blob/master/docker-compose.yml) or please provides your config. | ||||||
| 
 | 
 | ||||||
| ```go | ```go | ||||||
| package main | package main | ||||||
| @ -32,10 +26,9 @@ var db *gorm.DB | |||||||
| func init() { | func init() { | ||||||
| 	var err error | 	var err error | ||||||
| 	db, err = gorm.Open("sqlite3", "test.db") | 	db, err = gorm.Open("sqlite3", "test.db") | ||||||
| 	// Please use below username, password as your database's account for the script. | 	// db, err = gorm.Open("postgres", "user=gorm password=gorm DB.name=gorm port=9920 sslmode=disable") | ||||||
| 	// db, err = gorm.Open("postgres", "user=gorm dbname=gorm sslmode=disable") | 	// db, err = gorm.Open("mysql", "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True") | ||||||
| 	// db, err = gorm.Open("mysql", "gorm:gorm@/dbname?charset=utf8&parseTime=True") | 	// db, err = gorm.Open("mssql", "sqlserver://gorm:LoremIpsum86@localhost:9930?database=gorm") | ||||||
| 	// db, err = gorm.Open("mssql", "sqlserver://gorm:LoremIpsum86@localhost:1433?database=gorm") |  | ||||||
| 	if err != nil { | 	if err != nil { | ||||||
| 		panic(err) | 		panic(err) | ||||||
| 	} | 	} | ||||||
| @ -43,8 +36,6 @@ func init() { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func main() { | func main() { | ||||||
| 	// your code here |  | ||||||
| 
 |  | ||||||
| 	if /* failure condition */ { | 	if /* failure condition */ { | ||||||
| 		fmt.Println("failed") | 		fmt.Println("failed") | ||||||
| 	} else { | 	} else { | ||||||
|  | |||||||
							
								
								
									
										5
									
								
								.github/PULL_REQUEST_TEMPLATE.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/PULL_REQUEST_TEMPLATE.md
									
									
									
									
										vendored
									
									
								
							| @ -3,12 +3,7 @@ Make sure these boxes checked before submitting your pull request. | |||||||
| - [] Do only one thing | - [] Do only one thing | ||||||
| - [] No API-breaking changes | - [] No API-breaking changes | ||||||
| - [] New code/logic commented & tested | - [] New code/logic commented & tested | ||||||
| - [] Write good commit message, try to squash your commits into a single one |  | ||||||
| - [] Run `./build.sh` in `gh-pages` branch for document changes |  | ||||||
| 
 | 
 | ||||||
| For significant changes like big bug fixes, new features, please open an issue to make an agreement on an implementation design/plan first before starting it. | For significant changes like big bug fixes, new features, please open an issue to make an agreement on an implementation design/plan first before starting it. | ||||||
| 
 | 
 | ||||||
| Thank you. |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| ### What did this pull request do? | ### What did this pull request do? | ||||||
|  | |||||||
| @ -4,7 +4,7 @@ The fantastic ORM library for Golang, aims to be developer friendly. | |||||||
| 
 | 
 | ||||||
| [](https://gitter.im/jinzhu/gorm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | [](https://gitter.im/jinzhu/gorm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||||||
| [](https://goreportcard.com/report/github.com/jinzhu/gorm) | [](https://goreportcard.com/report/github.com/jinzhu/gorm) | ||||||
| [](https://app.wercker.com/project/bykey/0cb7bb1039e21b74f8274941428e0921) | [](https://app.wercker.com/project/byKey/8596cace912c9947dd9c8542ecc8cb8b) | ||||||
| [](https://godoc.org/github.com/jinzhu/gorm) | [](https://godoc.org/github.com/jinzhu/gorm) | ||||||
| 
 | 
 | ||||||
| ## Overview | ## Overview | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jinzhu
						Jinzhu