{"id":19110047,"url":"https://github.com/zeiss/go-transform","last_synced_at":"2026-06-15T06:34:50.386Z","repository":{"id":239985040,"uuid":"801178117","full_name":"ZEISS/go-transform","owner":"ZEISS","description":"A simple transform library in Go.","archived":false,"fork":false,"pushed_at":"2026-05-05T05:00:26.000Z","size":1498,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T07:07:34.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZEISS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-15T18:36:42.000Z","updated_at":"2026-05-05T05:00:24.000Z","dependencies_parsed_at":"2026-01-13T17:01:19.283Z","dependency_job_id":"cdbd8e03-0701-4f4c-9026-b98cb421e87d","html_url":"https://github.com/ZEISS/go-transform","commit_stats":null,"previous_names":["zeiss/go-transform"],"tags_count":1,"template":false,"template_full_name":"ZEISS/template-go","purl":"pkg:github/ZEISS/go-transform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZEISS%2Fgo-transform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZEISS%2Fgo-transform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZEISS%2Fgo-transform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZEISS%2Fgo-transform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZEISS","download_url":"https://codeload.github.com/ZEISS/go-transform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZEISS%2Fgo-transform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34351449,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T04:23:24.549Z","updated_at":"2026-06-15T06:34:50.347Z","avatar_url":"https://github.com/ZEISS.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Transform\n\n[![Test \u0026 Build](https://github.com/zeiss/go-transform/actions/workflows/main.yml/badge.svg)](https://github.com/zeiss/go-transform/actions/workflows/main.yml)\n[![Go Reference](https://pkg.go.dev/badge/github.com/zeiss/go-transform.svg)](https://pkg.go.dev/github.com/zeiss/go-transform)\n[![Go Report Card](https://goreportcard.com/badge/github.com/zeiss/go-transform)](https://goreportcard.com/report/github.com/zeiss/go-transform)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Taylor Swift](https://img.shields.io/badge/secured%20by-taylor%20swift-brightgreen.svg)](https://twitter.com/SwiftOnSecurity)\n\nTransform is a Go library that provides a simple way to transform data from one format to another.\n\n## Installation\n\n```bash\ngo get github.com/zeiss/go-transform\n```\n\n## Usage\n\n```go\ntype example struct {\n  Name string `tansform:\"trim,lowercase\"`\n}\n\nt := transform.New()\ne := example{Name: \"  John Doe  \"}\n\nif err := t.Transform(\u0026e); err != nil {\n  log.Fatal(err)\n}\n\nfmt.Println(e.Name) // Output: john doe\n```\n\n## Transformations\n\nThis is the list of all available transformations:\n\n| Function | Description |\n| --- | --- |\n| `trim` | Removes leading and trailing whitespace. |\n| `lowercase` | Converts the string to lowercase. |\n| `uppercase` | Converts the string to uppercase. |\n| `rtrim` | Removes trailing whitespace. |\n| `ltrim` | Removes leading whitespace. |\n| `uppercase` | Converts the string to uppercase. |\n\n## License\n\n[MIT](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeiss%2Fgo-transform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeiss%2Fgo-transform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeiss%2Fgo-transform/lists"}