Minor changes designpatterns

go