protos

module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2024 License: MIT

README

test

protos

The protos about PlanetMsg

use protos in go

go get github.com/AnimePlusHub/protos

Example

package main

import (
	pb "github.com/AnimePlusHub/protos/pkg/planetmsg"
)

func main() {

	println("hello world!")
	var a = pb.User{Id: int32(32)}
	println(a.Id)
}

use protos in typescript

pnpm install git+https://git@github.com/AnimePlusHub/protos.git

Example

import {User} from '@animePlus/protos/node/planetmsg/user_service_pb'

var data = new User();
data.setId(32);

测试protos

use protos in dart

in pubspec.yaml

dependencies:
	...
  animePlus_protos:
    git: https://github.com/AnimePlusHub/protos.git

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL