package main
import "fmt"
type StockLine struct{}
// Stock file
type Stock []StockLine
//Records returns number of records in the stock file
func (s *Stock) Records() int {
return len(*s)
}
func main() {
stock := Stock(make([]StockLine, 7))
fmt.Println(stock.Records())
}