learned I didn't need git for external modules and different folders can have different mains
This commit is contained in:
		
							
								
								
									
										21
									
								
								pkg/magazine/types.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								pkg/magazine/types.go
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
package magazine
 | 
			
		||||
 | 
			
		||||
type Subscriber struct {
 | 
			
		||||
	Name   string
 | 
			
		||||
	Rate   float64
 | 
			
		||||
	Active bool
 | 
			
		||||
	Address
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type Employee struct {
 | 
			
		||||
	Name   string
 | 
			
		||||
	Salary float64
 | 
			
		||||
	Address
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type Address struct {
 | 
			
		||||
	Street     string
 | 
			
		||||
	City       string
 | 
			
		||||
	State      string
 | 
			
		||||
	PostalCode string
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user