Go factory-pattern Libraries