[IMPROVED] Fix typo in README for service creation method (#1962)

This commit is contained in:
Reuben
2025-12-02 11:37:05 -05:00
committed by GitHub
parent 97bfc3294c
commit a2b6c9350b

View File

@@ -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