当前位置:网站首页>Fluent uses protobuf
Fluent uses protobuf
2022-07-26 08:27:00 【Peanut - Summer】
1, What I'm using here is https://github.com/yangyanzhan/protobuf
2,clone Come down ,
3, And then in protoc_plugin Under the directory of brew install protobuf If appear Updating Homebrew... direct control + C Just skip
4, And then in protoc_plugin Under the directory of brew tap dart-lang/dart and brew install dart If appear Updating Homebrew... direct control + C Just skip
5, Configuration environment : open ~/.zshrc
export PATH=$PATH:/Users/apple/Desktop/ Work /protobuf/protobuf-master/protoc_plugin/bin
To bin Catalog
6, Execute anywhere pub see pub Whether to install
7, To configure proto file :FeedBackResponse.proto The content of
syntax = "proto3"; //proto Analytic transformation json use
message GetFeedbackResponse {
message ReasonIndex{
repeated uint32 reason_index = 1; // reason Of index
}
uint32 star = 1; // Number of stars
repeated ReasonIndex reason = 2; // Each star
string tip = 3; // ***,
repeated string star_name = 4;
repeated string reason_name = 5; // All reasons set
}
8, Execute anywhere protoc --dart_out=/Users/apple/Desktop/ Work /protobuf/proto_dart --proto_path=/Users/apple/Desktop /Users/apple/Desktop/FeedBackResponse.proto
The first is to configure the output path , The second is configuration proto Path to file , The third is configuration proto The full path of the file
After execution, the converted dart file .
边栏推荐
- R language foundation
- CV learning notes (optical flow)
- Exam summary on July 13, 2022
- Special Lecture 3 number theory + game theory learning experience (should be updated for a long time)
- Data validation typeerror: qiao Validate is not a function
- BGP -- Border Gateway Protocol
- Write common API tools swagger and redoc
- Kotlin variables and constants
- 小蜜蜂吉他谱 高八度和低八度
- The second lesson is the construction of development environment
猜你喜欢

Kotlin variables and constants

吉他五线谱联系 茉莉花

Let's talk about the three core issues of concurrent programming.

One click deployment lamp and LNMP architecture

OSPF总结

基础乐理 节奏联系题,很重要

Recurrence of strtus2 historical vulnerability
![[GUI] GUI programming; AWT package (interface properties, layout management, event monitoring)](/img/25/475c91d7e673fda3930e5a69be0f28.png)
[GUI] GUI programming; AWT package (interface properties, layout management, event monitoring)

我,35岁了。

CentOS install mysql5.7
随机推荐
Bee guitar score high octave and low octave
2022/7/9 exam summary
2022-7-5 personal qualifying 2 competition experience
2022年全国职业院校技能大赛“网络安全”竞赛试题文件上传渗透测试答案Flag
2022/7/6 exam summary
Introduction to arrays -- array
Recurrence of strtus2 historical vulnerability
VIM cross line matching search
99 multiplication table and inverted triangle 99 multiplication table
我,35岁了。
Prefix infix suffix expression (written conversion)
Kotlin operator
Burp Suite - Chapter 1 burp suite installation and environment configuration
One click deployment lamp and LNMP architecture
2022-024arts: Longest valid bracket
SPSS uses kmeans, two-stage clustering and RFM model to study the behavior law data of borrowers and lenders in P2P network finance
Shell第二天作业
Kotlin data type
请问flink sql client 在sink表,有什么办法增大写出速率吗。通过sink表的同步时
I am 35 years old.