<commit_before>package leads

import (
	"time"
	"code.google.com/p/gorest"
)

type Lead struct {
	Id int
	Email string
	RegistrationDate time.Time
}

type LeadService struct {
	gorest.RestService `root:"/" consumes:"application/json" produces:"application/json"`

	getLead 	gorest.EndPoint `method:"GET" 		path:"/leads/{Id:int}" 	output:"Lead"`
	createLead	gorest.EndPoint `method:"POST"		path:"/leads" 			postdata:"Lead"`
	updateLead	gorest.EndPoint `method:"PUT"		path:"/leads/{Id:int}"	postdata:"Lead"`
	deleteLead	gorest.EndPoint	`method:"DELETE"	path:"/leads/{Id:int}"`
}<commit_msg>Last fix. Added postdata meta-tags<commit_after>package leads

import (
	"time"
	"code.google.com/p/gorest"
)

type Lead struct {
	Id int
	Email string
	RegistrationDate time.Time
}

type LeadService struct {
	gorest.RestService `root:"/leads" consumes:"application/json" produces:"application/json"`

	getLead 	gorest.EndPoint `method:"GET" 		path:"/{Id:int}" 	output:"Lead"`
	createLead	gorest.EndPoint `method:"POST"		path:"/" 			postdata:"Lead"`
	updateLead	gorest.EndPoint `method:"PUT"		path:"/{Id:int}"	postdata:"Lead"`
	deleteLead	gorest.EndPoint	`method:"DELETE"	path:"/{Id:int}"`
}
{'fraction_non_alphanumeric': 0.15860899067005937, 'fraction_numerical': 0.0, 'mean_word_length': 5.555555555555555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5264732', 'n_tokens_mistral': 441, 'n_tokens_neox': 432, 'n_words': 84}