src

Go monorepo.
git clone git://code.dwrz.net/src
Log | Files | Refs

high-quality.go (1994B)


      1 package category
      2 
      3 import "code.dwrz.net/src/pkg/dqs/portion"
      4 
      5 var (
      6 	Dairy = Category{
      7 		Name: "Dairy",
      8 		Portions: []portion.Portion{
      9 			{Points: 2},
     10 			{Points: 1},
     11 			{Points: 1},
     12 			{Points: 0},
     13 			{Points: -1},
     14 			{Points: -2},
     15 		},
     16 		HighQuality: true,
     17 	}
     18 
     19 	Fruit = Category{
     20 		Name: "Fruit",
     21 		Portions: []portion.Portion{
     22 			{Points: 2},
     23 			{Points: 2},
     24 			{Points: 2},
     25 			{Points: 1},
     26 			{Points: 0},
     27 			{Points: 0},
     28 		},
     29 		HighQuality: true,
     30 	}
     31 
     32 	HQBeverages = Category{
     33 		Name: "High Quality Beverages",
     34 		Portions: []portion.Portion{
     35 			{Points: 1},
     36 			{Points: 1},
     37 			{Points: 0},
     38 			{Points: 0},
     39 			{Points: -1},
     40 			{Points: -2},
     41 		},
     42 		HighQuality: true,
     43 	}
     44 
     45 	HQProcessedFoods = Category{
     46 		Name: "Processed Foods",
     47 		Portions: []portion.Portion{
     48 			{Points: 1},
     49 			{Points: 0},
     50 			{Points: -1},
     51 			{Points: -2},
     52 			{Points: -2},
     53 			{Points: -2},
     54 		},
     55 		HighQuality: true,
     56 	}
     57 
     58 	LegumesPlantProteins = Category{
     59 		Name: "Legumes & Plant Proteins",
     60 		Portions: []portion.Portion{
     61 			{Points: 2},
     62 			{Points: 2},
     63 			{Points: 1},
     64 			{Points: 0},
     65 			{Points: -1},
     66 			{Points: -1},
     67 		},
     68 		HighQuality: true,
     69 	}
     70 
     71 	NutsSeedsHealthyOils = Category{
     72 		Name: "Nuts, Seeds, Healthy Oils",
     73 		Portions: []portion.Portion{
     74 			{Points: 2},
     75 			{Points: 2},
     76 			{Points: 1},
     77 			{Points: 0},
     78 			{Points: 0},
     79 			{Points: -1},
     80 		},
     81 		HighQuality: true,
     82 	}
     83 
     84 	UnprocessedMeatSeafood = Category{
     85 		Name: "Unprocessed Meat & Seafood",
     86 		Portions: []portion.Portion{
     87 			{Points: 2},
     88 			{Points: 1},
     89 			{Points: 1},
     90 			{Points: 0},
     91 			{Points: -1},
     92 			{Points: -2},
     93 		},
     94 		HighQuality: true,
     95 	}
     96 
     97 	Vegetables = Category{
     98 		Name: "Vegetables",
     99 		Portions: []portion.Portion{
    100 			{Points: 2},
    101 			{Points: 2},
    102 			{Points: 2},
    103 			{Points: 1},
    104 			{Points: 0},
    105 			{Points: 0},
    106 		},
    107 		HighQuality: true,
    108 	}
    109 
    110 	WholeGrains = Category{
    111 		Name: "Whole Grains",
    112 		Portions: []portion.Portion{
    113 			{Points: 2},
    114 			{Points: 2},
    115 			{Points: 1},
    116 			{Points: 0},
    117 			{Points: 0},
    118 			{Points: -1},
    119 		},
    120 		HighQuality: true,
    121 	}
    122 )