mirror of
https://github.com/nats-io/nats.go.git
synced 2025-12-24 13:08:06 +08:00
[IMPROVED] Fix typo in README for service creation method (#1962)
This commit is contained in:
@@ -23,7 +23,7 @@ import "github.com/nats-io/nats.go/micro"
|
||||
|
||||
The core of the `micro` package is the Service. A Service aggregates endpoints
|
||||
for handling application logic. Services are named and versioned. You create a
|
||||
Service using the `micro.NewService()` function, passing in the NATS connection
|
||||
Service using the `micro.AddService()` function, passing in the NATS connection
|
||||
and Service configuration.
|
||||
|
||||
```go
|
||||
|
||||
Reference in New Issue
Block a user