java调用go

时间:2024-10-10 16:26:31

加配置中心同理

service

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="/POM/4.0.0" xmlns:xsi="http:///2001/XMLSchema-instance"
         xsi:schemaLocation="/POM/4.0.0 /xsd/maven-4.0.">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId></groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.7.2</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>
    <groupId></groupId>
    <artifactId>demo</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <name>demo</name>
    <description>demo</description>

    <properties>
        <>1.8</>
        <start-class></start-class>
        <>false</>
        <>8</>
        <>8</>
        <>1.15.1</>
        <>3.5.1-1</>
    </properties>
    <dependencies>
        <dependency>
            <groupId></groupId>
            <artifactId>grpc-server-spring-boot-starter</artifactId>
            <version>2.13.</version>
        </dependency>
        <dependency>
            <groupId></groupId>
            <artifactId>spring-boot-starter-web</artif