type save html and css generation for golang with functions