FieldAnnotation is added
This commit is contained in:
		
							parent
							
								
									a254c5695d
								
							
						
					
					
						commit
						cb9404f542
					
				
							
								
								
									
										8
									
								
								types.go
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								types.go
									
									
									
									
									
								
							| @ -17,6 +17,14 @@ type TypeAnnotation interface { | ||||
| // TypeAnnotationType is type of TypeAnnotation | ||||
| var TypeAnnotationType = reflect.TypeOf((*TypeAnnotation)(nil)).Elem() | ||||
| 
 | ||||
| // FieldAnnotation is interface | ||||
| type FieldAnnotation interface { | ||||
| 	Annotation | ||||
| } | ||||
| 
 | ||||
| // FieldAnnotationType is type of FieldAnnotation | ||||
| var FieldAnnotationType = reflect.TypeOf((*FieldAnnotation)(nil)).Elem() | ||||
| 
 | ||||
| // MethodAnnotation is interface | ||||
| type MethodAnnotation interface { | ||||
| 	Annotation | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user