{"id":44286142,"url":"https://github.com/nicklaros/gopointer","last_synced_at":"2026-02-10T22:48:01.836Z","repository":{"id":57570740,"uuid":"346669376","full_name":"nicklaros/gopointer","owner":"nicklaros","description":"Minimalist pointer utility for go.","archived":false,"fork":false,"pushed_at":"2021-03-12T00:09:03.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-14T09:49:06.327Z","etag":null,"topics":["go","pointer","utility"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/nicklaros/gopointer","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/nicklaros.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":"2021-03-11T10:50:43.000Z","updated_at":"2022-11-25T06:47:57.000Z","dependencies_parsed_at":"2022-09-10T19:11:24.205Z","dependency_job_id":null,"html_url":"https://github.com/nicklaros/gopointer","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/nicklaros/gopointer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklaros%2Fgopointer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklaros%2Fgopointer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklaros%2Fgopointer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklaros%2Fgopointer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicklaros","download_url":"https://codeload.github.com/nicklaros/gopointer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklaros%2Fgopointer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29320284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go","pointer","utility"],"created_at":"2026-02-10T22:48:01.037Z","updated_at":"2026-02-10T22:48:01.829Z","avatar_url":"https://github.com/nicklaros.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gopointer\n\nMinimalistic pointer utility for go.\n\n# Why Gopointer?\n\nGopointer makes golang easier by taking the hassle out of defining intermediary variable for\ncomposite literal just so you can take it's address.\n\n![failed to take address](https://i.ibb.co/ZcrQLCz/why-gopointer.png)\n\n# How to use\n\nImport package as follows\n```\nimport \"github.com/nicklaros/gopointer\"\n```\n\nFor boolean pointer\n\n```\nresult := gopointer.BoolPointer(true) // result type is *bool.\n```\n\nFor float32 pointer\n```\nresult := gopointer.Float32Pointer(99.99) // result type is *float32.\n```\n\nFor float64 pointer\n```\nresult := gopointer.Float64Pointer(99.99) // result type is *float64.\n```\n\nFor int pointer\n```\nresult := gopointer.IntPointer(99) // result type is *int.\n```\n\nFor int8 pointer\n```\nresult := gopointer.Int8Pointer(99) // result type is *int8.\n```\n\nFor int16 pointer\n```\nresult := gopointer.Int16Pointer(99) // result type is *int16.\n```\n\nFor int32 pointer\n```\nresult := gopointer.Int32Pointer(99) // result type is *int32.\n```\n\nFor int64 pointer\n```\nresult := gopointer.Int64Pointer(99) // result type is *int64.\n```\n\nFor string pointer\n```\nresult := gopointer.StringPointer(\"Hi, you can store me in a pointer.\") // result type is *string.\n```\n\nFor time pointer\n```\nimport \"time\"\n\nresult := gopointer.TimePointer(time.Now()) // result type is *time\n```\n\nFor uint pointer\n```\nresult := gopointer.UintPointer(99) // result type is *uint.\n```\n\nFor uint8 pointer\n```\nresult := gopointer.Uint8Pointer(99) // result type is *uint8.\n```\n\nFor uint16 pointer\n```\nresult := gopointer.Uint16Pointer(99) // result type is *uint16.\n```\n\nFor uint32 pointer\n```\nresult := gopointer.Uint32Pointer(99) // result type is *uint32.\n```\n\nFor uint64 pointer\n```\nresult := gopointer.Uint64Pointer(99) // result type is *uint64.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicklaros%2Fgopointer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicklaros%2Fgopointer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicklaros%2Fgopointer/lists"}