Skip to content
Snippets Groups Projects
Select Git revision
  • eec14fb964b5829baaf3dd7d42a53fa7006ee6b4
  • main default
  • manual_composited_bringup
  • dynamic_composed_bringup
  • add_node_argument
  • fix_export_dependency_and_library
  • reduce_costmap2d_ros_nodes
  • reduce_amcl_node_nodes
  • reduce_controller_server_nodes
  • reduce_planner_server_nodes
  • improve_simple_action_server
  • reduce_lifecycle_manager_client_nodes
  • reduce_lifecycle_manager_nodes
  • reduce_map_saver_nodes
  • update_service_client
15 results

spawn_tb3_launch.py

Blame
  • client.go 1.36 KiB
    /*
     * Licensed to the Apache Software Foundation (ASF) under one or more
     * contributor license agreements.  See the NOTICE file distributed with
     * this work for additional information regarding copyright ownership.
     * The ASF licenses this file to You under the Apache License, Version 2.0
     * (the "License"); you may not use this file except in compliance with
     * the License.  You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package main
    
    import (
    	"fmt"
    )
    
    import (
    	_ "github.com/apache/dubbo-go/cluster/cluster_impl"
    	_ "github.com/apache/dubbo-go/cluster/loadbalance"
    	_ "github.com/apache/dubbo-go/common/proxy/proxy_factory"
    	"github.com/apache/dubbo-go/config"
    	_ "github.com/apache/dubbo-go/filter/impl"
    	_ "github.com/apache/dubbo-go/protocol/dubbo"
    	_ "github.com/apache/dubbo-go/registry/consul"
    	_ "github.com/apache/dubbo-go/registry/protocol"
    )
    
    func main() {
    	config.Load()
    
    	message, err := dubboService.SayHello([]interface{}{"world"})
    	if err != nil {
    		panic(err)
    	}
    	fmt.Println(message)
    }