{"id":21133326,"url":"https://github.com/helloticket/ffparser","last_synced_at":"2025-03-14T12:29:12.510Z","repository":{"id":57517175,"uuid":"89552526","full_name":"helloticket/ffparser","owner":"helloticket","description":"The library is a Flat-File Parser","archived":false,"fork":false,"pushed_at":"2022-09-05T17:27:39.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-21T06:25:49.789Z","etag":null,"topics":["files","flat-file","golang"],"latest_commit_sha":null,"homepage":null,"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/helloticket.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}},"created_at":"2017-04-27T03:38:46.000Z","updated_at":"2022-10-09T00:58:56.000Z","dependencies_parsed_at":"2022-09-15T21:52:08.712Z","dependency_job_id":null,"html_url":"https://github.com/helloticket/ffparser","commit_stats":null,"previous_names":["helderfarias/ffparser"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloticket%2Fffparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloticket%2Fffparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloticket%2Fffparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloticket%2Fffparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helloticket","download_url":"https://codeload.github.com/helloticket/ffparser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243576824,"owners_count":20313495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["files","flat-file","golang"],"created_at":"2024-11-20T06:06:40.115Z","updated_at":"2025-03-14T12:29:12.468Z","avatar_url":"https://github.com/helloticket.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ffparser\n\nThe library is a Flat-File Parser\n\n## Install\n\n```bash\ngo get -v github.com/helloticket/ffparser\n```\n\n## Using\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\t\"time\"\n\n\t\"github.com/helloticket/ffparser\"\n)\n\ntype Pojo struct {\n\tValue1 time.Time `record:\"start=1,end=21\"`\n\tValue2 int       `record:\"start=22,end=32\"`\n\tValue3 int64     `record:\"start=33,end=43\"`\n\tValue4 float64   `record:\"start=44,end=54\"`\n\tValue5 string    `record:\"start=55,end=65\"`\n}\n\nfunc main() {\n\tffp := ffparser.NewSimpleParser()\n\n\tresult, _ := ffp.ParseToText(\u0026Pojo{\n\t\tValue1: time.Date(2017, 5, 10, 0, 0, 0, 0, time.UTC),\n\t\tValue2: 12402,\n\t\tValue3: 4567822222,\n\t\tValue4: 4567833.22,\n\t\tValue5: \"be happy\",\n\t})\n\n\tlog.Println(result)\n}\n```\n\n## Inspired\n\nhttps://github.com/ffpojo/ffpojo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloticket%2Fffparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelloticket%2Fffparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloticket%2Fffparser/lists"}