## Get User Details

`client.User.Get(ctx) (*User, error)`

**get** `/v1/user`

Get details about an authenticated user

### Returns

- `type User struct{…}`

  User details.

  - `ID string`

    Unique identifier for the User.

  - `Email string`

    Email address of the user.

  - `FirstName string`

    First name of the user.

  - `LastName string`

    Last name of the user.

### Example

```go
package main

import (
  "context"
  "fmt"

  "github.com/nirvana-labs/nirvana-go"
  "github.com/nirvana-labs/nirvana-go/option"
)

func main() {
  client := nirvana.NewClient(
    option.WithAPIKey("My API Key"),
  )
  user, err := client.User.Get(context.TODO())
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", user.ID)
}
```

#### Response

```json
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "email": "satoshi@nirvanalabs.io",
  "first_name": "Satoshi",
  "last_name": "Nakamoto"
}
```
