Update README.md (#1820)
This commit is contained in:
parent
85ae232936
commit
630ceb5dad
21
README.md
21
README.md
@ -1,6 +1,6 @@
|
|||||||
# Go Micro [](https://opensource.org/licenses/Apache-2.0) [](https://pkg.go.dev/github.com/micro/go-micro?tab=doc) [](https://travis-ci.org/micro/go-micro) [](https://goreportcard.com/report/github.com/micro/go-micro)
|
# Go Micro [](https://opensource.org/licenses/Apache-2.0) [](https://pkg.go.dev/github.com/micro/go-micro?tab=doc) [](https://travis-ci.org/micro/go-micro) [](https://goreportcard.com/report/github.com/micro/go-micro)
|
||||||
|
|
||||||
Go Micro is a framework for distributed systems development.
|
Go Micro is a standard library for distributed systems development.
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
@ -48,24 +48,7 @@ are pluggable and allows Go Micro to be runtime agnostic. You can plugin any und
|
|||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
To make use of Go Micro
|
See [pkg.go.dev](https://pkg.go.dev/github.com/micro/go-micro?tab=doc) for usage.
|
||||||
|
|
||||||
```golang
|
|
||||||
import "github.com/micro/go-micro/v2"
|
|
||||||
|
|
||||||
// create a new service
|
|
||||||
service := micro.NewService(
|
|
||||||
micro.Name("helloworld"),
|
|
||||||
)
|
|
||||||
|
|
||||||
// initialise flags
|
|
||||||
service.Init()
|
|
||||||
|
|
||||||
// start the service
|
|
||||||
service.Run()
|
|
||||||
```
|
|
||||||
|
|
||||||
See [pkg.go.dev](https://pkg.go.dev/github.com/micro/go-micro?tab=doc) for further usage.
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user