// SetPrimaryKeyStringValue implements mapping.Model interface method.
SetPrimaryKeyStringValue implements mapping.Model interface method.
// SetPrimaryKeyStringValue implements mapping . Model interface method .
func (p *Post) SetPrimaryKeyStringValue(value string) error {
	tmp, err := strconv.ParseInt(value, 10, mapping.IntegerBitSize)
	if err != nil {
		return err
	}
	p.ID = int(tmp)
	return nil
}
func ( p * Post ) SetPrimaryKeyStringValue ( value string ) error { tmp , err := strconv . ParseInt ( value , 10 , mapping . IntegerBitSize ) if err != nil { return err } p . ID = int ( tmp ) return nil }
SetPrimaryKeyStringValue implements mapping.Model interface method.
SetPrimaryKeyStringValue implements mapping . Model interface method .