Skip to content

Commit

Permalink
Add line showcasing string-based with no T
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu authored Dec 30, 2024
1 parent 49ecd9b commit e9b413c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ maximum performance, minimal memory allocation typed identifiers.

```csharp
public readonly partial record struct UserId : IStructId<Guid>;
// String-based ID
public readonly partial record struct ProductId : IStructId;
```

Unlike other such libraries for .NET, StructId introduces several unique features:
Expand Down

0 comments on commit e9b413c

Please sign in to comment.