{"id":31833516,"url":"https://github.com/oastuff/iso8583","last_synced_at":"2025-10-11T23:56:06.761Z","repository":{"id":57482917,"uuid":"49130967","full_name":"oaStuff/Iso8583","owner":"oaStuff","description":"A golang Implementation of Iso8583 protocol","archived":false,"fork":false,"pushed_at":"2018-03-19T16:34:53.000Z","size":33,"stargazers_count":20,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-21T07:46:22.642Z","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/oaStuff.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":"2016-01-06T11:23:38.000Z","updated_at":"2022-12-21T05:09:18.000Z","dependencies_parsed_at":"2022-08-27T20:02:40.906Z","dependency_job_id":null,"html_url":"https://github.com/oaStuff/Iso8583","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/oaStuff/Iso8583","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaStuff%2FIso8583","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaStuff%2FIso8583/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaStuff%2FIso8583/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaStuff%2FIso8583/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oaStuff","download_url":"https://codeload.github.com/oaStuff/Iso8583/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaStuff%2FIso8583/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009365,"owners_count":26084582,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"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":"2025-10-11T23:55:49.128Z","updated_at":"2025-10-11T23:56:06.751Z","avatar_url":"https://github.com/oaStuff.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is an implementation of the ISO8583 standard in GO.\n\n#### Getting the library\n```\n    go get github.com/oaStuff/Iso8583\n```\n\n#### Using default Iso8583 implementation\n\n```go\nfunc main() {\n\t// Creates a new Iso8583 message\n\tmsg := NewIso8583()\n\n    //Set various fields as required\n\tmsg.SetFieldValue(4,\"4000\")\n    msg.SetFieldValue(70,\"677\")\n\n    //You can even set a sub field on field 127 (this conforms to the Postilion switch standard)\n    msg.SetSubFieldValue(127,2,\"999999999\")\n    msg.SetSubFieldValue(127,6,\"p1\")\n    msg.SetSubFieldValue(127,34,\"98\")\n\n    //You can get the raw bytes of the message\n    data := msg.ToMsg()\n\n    //Print out the message in the default formatted message style\n    log.Printf(\"\\n%s\",msg.ToString(\"\"))\n\n    //retrieve values from the message\n    log.Println(\"Data stored is \", msg.GetFieldValue(2))\n\n    //View the hex dump of the message also\n    log.Println(\"hex dump data is \")\n    log.Printf(\"\\n%v\",hex.Dump(data))\n}\n```\n\n\n\n#### Specifying your own template\n\n```go\nfunc main() {\n\t//Define the template\n\n\ttmplDef := TemplateDef{\n        2 : AsciiVar(2,20,fieldValidator.N()),\n        4 : AsciiNumeric(12),\n        70 : AsciiAlphaNumeric(3),\n    }\n\n    //Create the template and use it in creating the message\n    tmpl:= NewTemplate(tmplDef)\n    msg := NewAMessage(tmpl)\n\n    //Set various fields as required\n    //You can only set values for the field you have defined in the template\n\tmsg.SetFieldValue(4,\"4000\")\n    msg.SetFieldValue(70,\"677\")\n\n    //You can get the raw bytes of the message\n    data := msg.ToMsg()\n\n    //Print out the message in the default formatted message style\n    log.Printf(\"\\n%s\",msg.ToString(\"\"))\n\n    //retrieve values from the message\n    log.Println(\"Data stored is \", msg.GetFieldValue(2))\n\n    //View the hex dump of the message also\n    log.Println(\"hex dump data is \")\n    log.Printf(\"\\n%v\",hex.Dump(data))\n}\n```\n\n##### LICENSE\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foastuff%2Fiso8583","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foastuff%2Fiso8583","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foastuff%2Fiso8583/lists"}