Files
lo/docs/data/core-pascalcase.md
T
Samuel Berthe fa095e4b4f fix(doc): fix go playground demo URL (#832)
* fix(doc): fix go playground demo URL

* fix(doc): add more go playground demo URL
2026-03-06 00:09:59 +01:00

29 lines
490 B
Markdown

---
name: PascalCase
slug: pascalcase
sourceRef: string.go#L166
category: core
subCategory: string
playUrl: https://go.dev/play/p/uxER7XpRHLB
variantHelpers:
- core#string#pascalcase
similarHelpers:
- core#string#camelcase
- core#string#snakecase
- core#string#kebabcase
- core#string#capitalize
- core#string#words
position: 40
signatures:
- "func PascalCase(str string) string"
---
Converts a string to PascalCase.
```go
lo.PascalCase("hello_world")
// "HelloWorld"
```