I have a gRPC server exposing three services:
// cmd/account/main.go
func main () {
service := micro.NewService(
micro.Name("io.coderoso.srv.v1.account"),
)
accountHandler := handler.NewAccountHandler()
package main | |
import ( | |
"fmt" | |
"os" | |
"strconv" | |
) | |
// Language: Go | |
// |
version: "3" | |
services: | |
billine: | |
build: | |
context: . | |
dockerfile: billine/Dockerfile | |
hostname: billine | |
restart: always | |
env_file: |
FROM ruby:2.6.3 AS builder | |
RUN apt-get update -qqy && \ | |
apt-get install -qqy --no-install-recommends \ | |
build-essential \ | |
unzip \ | |
xvfb \ | |
cmake \ | |
g++ \ | |
qt5-default \ |
// 20190529183835 | |
// https://jsonplaceholder.typicode.com/posts | |
[ | |
{ | |
"userId": 1, | |
"id": 1, | |
"title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit", | |
"body": "quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto" | |
}, |
{ | |
"units": [ | |
{ | |
"id": "dc5f57a0-7c4a-4fb1-9958-c8ca4be5f257", | |
"price": 27.5, | |
"name": "108", | |
"description": "Air Cooled, Heated, Light in Unit, Stacked Space, 3rd floor", | |
"width": 5, | |
"length": 5, | |
"height": 8, |
package main | |
import "fmt" | |
// Language: Go | |
// | |
// Running: | |
// | |
// Assuming `elements := []int{1, 2, 3, 4}` | |
// |
package main | |
import ( | |
"fmt" | |
"math" | |
) | |
// Language: Go | |
// | |
// Running: |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"os" | |
"sort" | |
"strconv" | |
"strings" |
I have a gRPC server exposing three services:
// cmd/account/main.go
func main () {
service := micro.NewService(
micro.Name("io.coderoso.srv.v1.account"),
)
accountHandler := handler.NewAccountHandler()
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |