handle statement import of proto file
This commit is contained in:
		
							
								
								
									
										11
									
								
								examples/import/output/output.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								examples/import/output/output.go
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
// Code generated by protoc-gen-gotemplate
 | 
			
		||||
package article
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"github.com/moul/protoc-gen-gotemplate/examples/import/output/models/article"
 | 
			
		||||
    "github.com/moul/protoc-gen-gotemplate/examples/import/output/models/common"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type Repository interface {
 | 
			
		||||
     GetArticle(getarticle *common.GetArticle ) (*article.Article,  error)
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user