refine naming in writer for godocs