syntax = "proto3";
option go_package = "example.com/project/protos/person";
package person;
message Person {
string name = 1;
int32 age = 2;
}
package main
import (
"fmt"
"example.com/project/protos/person"
)
func main() {
fmt.Println("Hello")
el := &pesron.Person{
Name: "saha"
Age: 33
}
data, err := pesron.Marshall(el)
fmt.Println(data)
}