code: func (gr *goResource) generate(r *raml.Resource, URI, dir string, libRootURLs []string) error {
  	if err := gr.generateInterfaceFile(dir); err != nil {
  		return err
  	}
  
  	apiDir := filepath.Join(dir, serverAPIDir, gr.PackageName)
  	return gr.generateAPIImplementations(apiDir)
  }
docs: // generate Go representation of server's resource.
  // A resource have two kind of files:
  // - interface file
  //		contains API interface and routing code
  //		always regenerated
  // - API implementation
  //		implementation of the API interface.
  //		Don't generate if the file already exist