Merge pull request #57 from unistack-org/master
merge master
This commit was merged in pull request #57.
	This commit is contained in:
		
							
								
								
									
										7
									
								
								util.go
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								util.go
									
									
									
									
									
								
							| @@ -92,10 +92,15 @@ func newPathRequest(path string, method string, body string, msg interface{}, ta | ||||
| 			continue | ||||
| 		} | ||||
| 		fld := tmsg.Type().Field(i) | ||||
| 		// Skip unexported fields. | ||||
| 		if fld.PkgPath != "" { | ||||
| 			continue | ||||
| 		} | ||||
| 		/* check for empty PkgPath can be replaced with new method IsExported | ||||
| 		if !fld.IsExported() { | ||||
| 			continue | ||||
| 		} | ||||
|  | ||||
| 		*/ | ||||
| 		t := &tag{} | ||||
| 		for _, tn := range tags { | ||||
| 			ts, ok := fld.Tag.Lookup(tn) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user