20 lines
352 B
Go
20 lines
352 B
Go
package template
|
|
|
|
const templateProto = `syntax = "proto3";
|
|
|
|
package proto.v1;
|
|
|
|
option go_package = "{{.Name}}/gen;genv1";
|
|
|
|
|
|
// @table_name: t_file
|
|
message ModelFileRecord {
|
|
int64 id = 1;
|
|
string filename = 2;
|
|
string file_size = 3;
|
|
string dirname = 4;
|
|
int64 created_at = 5;
|
|
bool is_directory = 6;
|
|
}
|
|
`
|