google / google/adk-go

Rename workflowagents package to workflowagent

Open
#336 2 comments 0 reactions 1 assignee Claimed by @rakyll View on GitHub
breaking change
Dominant language
Go
Stars
8.8k
Forks
1k
Avg merge
3d 18h
Merged PRs (30d)
88

Description

ADK will introduce a `workflowagent` in the future, its code can easily fit into the `workflowagent`. Plural package names is an anti pattern in Go because the package name is a part of the identifier in code. Consider the difference between before and after:

Before:

```go
workflowagents.New(...)
```

After:
```go
workflowagent.New(...)
```

Rename workflowagents to workflowagent to avoid breaking changes in the future.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.