mirror of
				https://github.com/beego/bee.git
				synced 2025-10-30 21:03:22 +00:00 
			
		
		
		
	fix the miss arguments
This commit is contained in:
		
							
								
								
									
										2
									
								
								fix.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								fix.go
									
									
									
									
									
								
							| @@ -135,7 +135,7 @@ func fixFile(file string) error { | ||||
| 	pareg = regexp.MustCompile(`Input.Params\)`) | ||||
| 	fixed = pareg.ReplaceAllString(fixed, "Input.Params())") | ||||
| 	// replace the v.Apis in docs.go | ||||
| 	if strings.Contains("docs.go") { | ||||
| 	if strings.Contains(file, "docs.go") { | ||||
| 		strings.Replace(fixed, "v.Apis", "v.APIs", -1) | ||||
| 	} | ||||
| 	err = os.Truncate(file, 0) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 astaxie
					astaxie