1 /++
2  + Copyright: Copyright © 2018, Christian Köstlin
3  + License: MIT
4  + Authors: Christian Koestlin
5  +/
6 
7 module packageversion;
8 
9 public import packageversion.packageversion;
10 
11 Package[] packages;
12 
13 struct Package
14 {
15     string name;
16     string semVer;
17     string license;
18 }
19 
20 void registerPackageVersion(string name, string semVer, string license)
21 {
22     packages ~= Package(name, semVer, license);
23 }
24 
25 auto getPackages()
26 {
27     return packages;
28 }