🚀 A simple client-server mezon with golang
✅ Http client
✅ Socket
go install \
"google.golang.org/protobuf/cmd/protoc-gen-go" \
"google.golang.org/grpc/cmd/protoc-gen-go-grpc" \
"github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway" \
"github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
https://github.com/swagger-api/swagger-codegen
sudo -i
wget https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.8/swagger-codegen-cli-2.4.8.jar -O /usr/local/bin/swagger-codegen-cli.jar
echo '#!/bin/bash\njava -jar /usr/local/bin/swagger-codegen-cli.jar "$@"' > /usr/local/bin/swagger-codegen
chmod +x /usr/local/bin/swagger-codegen
cd mezon-protobuf
./protoc-gen.sh
cd mezon-api
./oapi-gen.sh