README ¶
<script crossorigin="anonymous" defer="defer" integrity="sha512-1QzqMFpBSwRfpLwNjvy7HzWppDH5803c5jyN6K064fvAC/TiKaQF+MiwGcGeEhujqfLnL3lX15BKt2RqSzwlSg==" type="application/javascript" src="https://github.githubassets.com/assets/chunk-frameworks-d50cea30.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-VCprQIl55Uv72iPpYaNMju6N2rRE1xqFzT84jOqw0wBSN37ACO/9V0zgV6w6GwbQkAU/XF+n82OWwtjEQ5fV6Q==" type="application/javascript" src="https://github.githubassets.com/assets/chunk-vendor-542a6b40.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-ODZJzCJpaOfusrIka5QVZQcPiO9LBGyrrMYjhhJWSLuCN5WbZ5xiEiiOPOKVu71dqygyRdB2TY7AKPA1J5hqdg==" type="application/javascript" data-module-id="./chunk-unveil.js" data-src="https://github.githubassets.com/assets/chunk-unveil-383649cc.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-emPgUbSwW9ezLCgRnTE7n4fbbfc/MqEEDHmnkmG61dTyjWKHTYKN4wN3OPS7SY0fwmSJ8mB5+gng2nZw4/HsUg==" type="application/javascript" data-module-id="./chunk-animate-on-scroll.js" data-src="https://github.githubassets.com/assets/chunk-animate-on-scroll-7a63e051.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-ocfEAp6AJvGh4otXKow+AVJ14ysircwHagMkRQ3hoQvuy/U9agyT1cYKYiSYph1VLNaI/aAXwVd2go1pb3DD8A==" type="application/javascript" data-module-id="./chunk-input-demux.js" data-src="https://github.githubassets.com/assets/chunk-input-demux-a1c7c402.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-tM2UlPYv6Z04ZoFXp/P+9sanpA9adLc2Y8CIfnVE7OvO0Z41BNLEyIIuxIE87D5su+5Q7HREnk5ZBKWPL8IOQg==" type="application/javascript" data-module-id="./chunk-ref-selector.js" data-src="https://github.githubassets.com/assets/chunk-ref-selector-b4cd9494.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-LsL0Q+kokbEkffjiD0xUiR97zM17wZBt8WBuQwLaLuWpKV3x9rkcZv+A295R8RXTbZuYWZ+OGIEhjSklQjK0vg==" type="application/javascript" data-module-id="./chunk-filter-input.js" data-src="https://github.githubassets.com/assets/chunk-filter-input-2ec2f443.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-ynV5nM8UuCr4KZ/msFeRxRL6LnG+XUKzIfh6LNIzQ21ecjLVPvm53ghTE54aIuSUaHJWHnsYg8FRzycZIcRHiA==" type="application/javascript" data-module-id="./chunk-edit.js" data-src="https://github.githubassets.com/assets/chunk-edit-ca75799c.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-zFw83Br81EgtomfNYoZM5UzXZKrlobhEEuoVA0qrNwlcvMCD5X3q5pOtXVL16Uw0l/RRThOPPvBInoS+Gks8tQ==" type="application/javascript" data-module-id="./chunk-responsive-underlinenav.js" data-src="https://github.githubassets.com/assets/chunk-responsive-underlinenav-cc5c3cdc.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-gmw7obKL/JEHWPp6zWFh+ynbXUFOidj1DN2aPiTDwP8Gair0moVuDmA340LD84A29I3ZPak19CEiumG+oIiseg==" type="application/javascript" data-module-id="./chunk-tag-input.js" data-src="https://github.githubassets.com/assets/chunk-tag-input-826c3ba1.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-Ao9llFIlj54ApuKf2QLboXukbu2h7MHfMmtYHrrsVe1lprKNLiA0usVcRpvruKhfT5STDuWm/GGmyx8ox27hWQ==" type="application/javascript" data-module-id="./chunk-notification-list-focus.js" data-src="https://github.githubassets.com/assets/chunk-notification-list-focus-028f6594.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-SPWd3rzrxmU6xW6vy1JPWCd+3uWFWmnd0MVGpmw/TpHWUAdLWDqL8kWyC/sBIZJmda4mTtUO1DHJQzAXRSrC+g==" type="application/javascript" data-module-id="./chunk-cookies.js" data-src="https://github.githubassets.com/assets/chunk-cookies-48f59dde.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-4vVRplWFI7P4m3RHQ0QAhkq6eZUdtIE8PBhsKYJRwDkhQw9iK/U1st1/fM1tQZFuBFwGMyqaZblbWtQ+2ejcqQ==" type="application/javascript" data-module-id="./chunk-slug.js" data-src="https://github.githubassets.com/assets/chunk-slug-e2f551a6.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-MK53GXbb2BPV+ADlEbJbkrvg34WPcAd5RC2nBJhUH1tR/Mjr9xrsf56ptBajfWcIWKRKbqqRtLktgr0wAbB3zw==" type="application/javascript" data-module-id="./chunk-async-export.js" data-src="https://github.githubassets.com/assets/chunk-async-export-30ae7719.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-tw9SApiMkftVBYeb6/VGhEwGNw8tlyBhXc9RVXH4UbCD6u+48uuCMvXf3bxvBdOld0OoYg83SnD2mgJWhdaTiQ==" type="application/javascript" data-module-id="./chunk-premium-runners.js" data-src="https://github.githubassets.com/assets/chunk-premium-runners-b70f5202.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-Lrm8u2MdzXjItcf94UC8RyxQRLxI99xOHX4lSm2/BeP3Qp/fY31KJsB/PK6jPRgAcV6MeGYFepWP8y1q2R4WUg==" type="application/javascript" data-module-id="./chunk-get-repo-element.js" data-src="https://github.githubassets.com/assets/chunk-get-repo-element-2eb9bcbb.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-4rRDg68sT8HA9RRbb+k0JJtMxhKVklKcYNdpNPeLnVtuHlZQZQQcmUnm9SvJ9+F0+iJsBoMnhoQ9NQqcOy1yGg==" type="application/javascript" data-module-id="./chunk-prefetched-provider.js" data-src="https://github.githubassets.com/assets/chunk-prefetched-provider-e2b44383.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-xhSAO0KtnFAlRqAK+mg8BPj/J334ccvnCmmjmBQBCgZcsoO9teHJSS6oAn3XOWYFsWPU2JehwG7S3OVEbLwdUg==" type="application/javascript" data-module-id="./chunk-color-modes.js" data-src="https://github.githubassets.com/assets/chunk-color-modes-c614803b.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-jitxouuFY6SUcDZV5W3jhadVEIfFBfCQZxfPV3kxNnsWEBzbxMJFp0ccLb7+OlBjSs1zU/MNtuOV6T9Ay7lx4w==" type="application/javascript" data-module-id="./chunk-copy.js" data-src="https://github.githubassets.com/assets/chunk-copy-8e2b71a2.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-gwuBCPcczyGD5IyVEn/uqJXvT07GaVMryQC+ZfDhViO9r2JaqeAc4ooM3cVSjqo4m3IK6Y+boPI8MSf4mLlAgQ==" type="application/javascript" data-module-id="./chunk-voting.js" data-src="https://github.githubassets.com/assets/chunk-voting-830b8108.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-HDsLJf6gAN+WDFaJneJwmIY82XkZKWqeX7tStBLRh1XM53K8vMV6JZvjq/UQXszaNVWxWcuYtgYTG6ZWo8+QSw==" type="application/javascript" data-module-id="./chunk-confetti.js" data-src="https://github.githubassets.com/assets/chunk-confetti-1c3b0b25.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-vAs99bZfAF+pQjzGYSEM/dzYwm4SIxUxrcjdLuatAV6WJu/kfw8+s/SO7In/gHFhCR08sl7a38vA+dDmYAYHyQ==" type="application/javascript" data-module-id="./chunk-codemirror.js" data-src="https://github.githubassets.com/assets/chunk-codemirror-bc0b3df5.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-Gr3ZcJt5t73JeBM3NwOEziKyDZ3HpHwzqZL/c1pgTUfo+6QC5f88XXRw/RT6X2diwqvaa3OVFh0oWsZ9ZxhtdQ==" type="application/javascript" data-module-id="./chunk-tip.js" data-src="https://github.githubassets.com/assets/chunk-tip-1abdd970.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-EdQvlnI4Pu5Q6K0HCvp+mi0Vw9ZuwaEuhbnCbmFKX+c0xwiUWY0L3n9P0F6doLhaHhfpvW3718+miL11WG4BeA==" type="application/javascript" data-module-id="./chunk-line.js" data-src="https://github.githubassets.com/assets/chunk-line-11d42f96.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-4zSHP2sQXPKoN9jFy8q2ThHsQNej8s4qhubSR4g0/2dTexAEnoTG+RbaffdIhmjfghGjpS/DlE0cdSTFEOcipQ==" type="application/javascript" data-module-id="./chunk-array.js" data-src="https://github.githubassets.com/assets/chunk-array-e334873f.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-g8fb6U7h9SkWgiK69nfNMn4aN5D2YBYPZUbCIuLpemWoOw8NOaZY8Z0hPq4RUVs4+bYdCFR6K719k8lwFeUijg==" type="application/javascript" data-module-id="./chunk-band.js" data-src="https://github.githubassets.com/assets/chunk-band-83c7dbe9.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-4GJz2wyWwjq7P4hyx3qSkjvnTO7RG5cWvnePVXPB+Oji6MBVugAdl7kCTKbpX8+Ae2ONvGJwFzSc9A7m1pqzXw==" type="application/javascript" data-module-id="./chunk-toast.js" data-src="https://github.githubassets.com/assets/chunk-toast-e06273db.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-miaiZ1xkDsWBUsURHOmeYtbgVKQGnm1octCo/lDXUmPzDyjtubnHULRVw1AK+sttwdwyB0+LOyhIVAWCNSGx+A==" type="application/javascript" data-module-id="./chunk-delayed-loading-element.js" data-src="https://github.githubassets.com/assets/chunk-delayed-loading-element-9a26a267.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-GD25CNhMGDMzEmeFhUT0FILBupAkx5/CHohnYXOP1togy40O0iu/lASaSp3gV8ue0nwscalJVQqR5gKDRHHDVg==" type="application/javascript" data-module-id="./chunk-three.module.js" data-src="https://github.githubassets.com/assets/chunk-three.module-183db908.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-xmwKlhTMNVRU8mZLQQVMRsISs88kvYD44890vqs2UgtRESeLhm81nd88P6SoLiGMjyUDMTR0IzBCauoacaqSkA==" type="application/javascript" data-module-id="./chunk-invitations.js" data-src="https://github.githubassets.com/assets/chunk-invitations-c66c0a96.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-vFR+IqThljOLrAWmjhOL/kiQrjgZZg95uPovX0J7kRH5p7Y049LDRZaXLMDijfeqqk71d3MMn9XP5bUcH+lB9w==" type="application/javascript" data-module-id="./chunk-profile.js" data-src="https://github.githubassets.com/assets/chunk-profile-bc547e22.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-W3TFrSn3Iqu38aVxxYxFiNGzaVmLXtGfwRDVRH1RwRvqPVerX1fjQPEYag+HqAoWaGy5ssVFp42oyOIV93afBw==" type="application/javascript" data-module-id="./chunk-overview.js" data-src="https://github.githubassets.com/assets/chunk-overview-5b74c5ad.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-xqw233932eUGcGURAPuwUWZpC5Km/9Btq7/2Jnkt1rSWnPSVfMl+JKpr9eLtCoQmrpgP8vaghEuX8bWAS8fzTg==" type="application/javascript" data-module-id="./chunk-advanced.js" data-src="https://github.githubassets.com/assets/chunk-advanced-c6ac36df.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-6Rmd0BBAsJ9ouvb/pgrkToMPs5ogcqi8rcQ7R3GDPPHIjlu0NZ0Bx6HUn/aOruMCECETHm4Exfs5gjYdHs66RQ==" type="application/javascript" data-module-id="./chunk-runner-groups.js" data-src="https://github.githubassets.com/assets/chunk-runner-groups-e9199dd0.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-5H5N/3G/20nmVKntphXb9z0H9q3URFDmHSccLhFkMSA8ILAA9mYlRKCWAWoDcl/W437jtGw1tIxjWStfInvidw==" type="application/javascript" data-module-id="./chunk-profile-pins-element.js" data-src="https://github.githubassets.com/assets/chunk-profile-pins-element-e47e4dff.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-6WJL+zyYirKxwD8MNBenuxbMKvCeskXBrXISNlqhV3kltmI8kiSjUX0nDQM3fXeSakcll12sYS8Pli1GFPtG9Q==" type="application/javascript" data-module-id="./chunk-emoji-picker-element.js" data-src="https://github.githubassets.com/assets/chunk-emoji-picker-element-e9624bfb.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-EvJ2Fip59DXgARNuwTWgjdVqoCjhXQL73SP9yexijlWStKq92sfbKeGK5R4wIP0QOr39WsnW/Kaw3Wpl1QPfog==" type="application/javascript" data-module-id="./chunk-edit-hook-secret-element.js" data-src="https://github.githubassets.com/assets/chunk-edit-hook-secret-element-12f27616.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-91JzWtpBUoC7Z4dQpeXRegjwCMooGPFtg/vXxaIGVTxguoOcI/hEdyM7otQGRNQmMencK71thI0oGt11Wgfrww==" type="application/javascript" data-module-id="./chunk-insights-query.js" data-src="https://github.githubassets.com/assets/chunk-insights-query-f752735a.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-ySdUENYEBMcTMRqhu0hVPVoUQfqjCkRuNy9wtKP3bEcYkMVYCSfEK4HJUTbuu3r4R7b9i6cGRHh8O3fA2/Jqyw==" type="application/javascript" data-module-id="./chunk-remote-clipboard-copy.js" data-src="https://github.githubassets.com/assets/chunk-remote-clipboard-copy-c9275410.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-eO/r0W5ywI2kxVkcH8yquw3n5Gh+cA8lVOgxd+ecgJYU81FB4Q5FqFxgHhx1omigPwexB4ltwXBMDhSeW6qNeQ==" type="application/javascript" data-module-id="./chunk-series-table.js" data-src="https://github.githubassets.com/assets/chunk-series-table-78efebd1.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-eCSMVL1aAfhWSme4/3seObqN3HNdkxWVKaAX5bmZmxIXZdv0ixnuFJeESYdLeMED/wQETtQ971A03mLF3ZX8eQ==" type="application/javascript" data-module-id="./chunk-line-chart.js" data-src="https://github.githubassets.com/assets/chunk-line-chart-78248c54.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-rZhcZvsxbGBxibYeNv4aHYZkgZzW6xnRcAqmuOCbq/ehJgr75pxgiV7HrGrYrX9HNmyH8T+90HC9WSBZNM4L3g==" type="application/javascript" data-module-id="./chunk-bar-chart.js" data-src="https://github.githubassets.com/assets/chunk-bar-chart-ad985c66.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-/QP5yDdYoor56F2+SyPr/8a9FtvCZnnGP0d+lSAHQR5n+xYjaiY6LjJGB/x1cevAH8r4XY/axNN9fRWIfbwAcA==" type="application/javascript" data-module-id="./chunk-stacked-area-chart.js" data-src="https://github.githubassets.com/assets/chunk-stacked-area-chart-fd03f9c8.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-TKUxqL6IByP8qqlx+WNc34g/slipjnnKi57B1EBicEWDMUMcBLFsrRiHY535WKJOrkjsqmpJXT5cSE4q6wEyAw==" type="application/javascript" data-module-id="./chunk-presence-avatars.js" data-src="https://github.githubassets.com/assets/chunk-presence-avatars-4ca531a8.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-lkC6s2VaqqzXt1XyrCWmJ1ZolmjIVBcadmxjfUansOJlqeIRYTTqjnMzHvnjnqt6ve2mdLTt5s6iaK9eC8JQrw==" type="application/javascript" data-module-id="./chunk-pulse-authors-graph-element.js" data-src="https://github.githubassets.com/assets/chunk-pulse-authors-graph-element-9640bab3.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-aNAcFMlIdG1ocY5LnZylnN/6KXiJxyPvKg7y1Jnai732wdnrjXazcvNiQkRnj5FY8WP6JRa3K4doCReA4nhj7w==" type="application/javascript" data-module-id="./chunk-stacks-input-config-view.js" data-src="https://github.githubassets.com/assets/chunk-stacks-input-config-view-68d01c14.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-48cie2yevP3AX9vgMj7W25fOv4YujgRxBC3jJ/YnpUEitvyeu6sauZYg1/HBwIYPIvu+JKsCDRGD/9nLq8ZovA==" type="application/javascript" data-module-id="./chunk-community-contributions.js" data-src="https://github.githubassets.com/assets/chunk-community-contributions-e3c7227b.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-fx3qkTaNOwACIrHcd0c9dUe0gtyWr88gcBbdpn5gXvZtBD4Mn3IhF/Ys5CoffBA9pzx7KFRNxjJkIN+Jhf1vnw==" type="application/javascript" data-module-id="./chunk-discussion-page-views.js" data-src="https://github.githubassets.com/assets/chunk-discussion-page-views-7f1dea91.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-qEHZhSvfA+6V31W4k6upvHeMIZI48wt8LNsbFrBFx2qJ4YAdTIxJx0kjryhKOJUaJk1FqK7FehDzoX3MrgWoHg==" type="application/javascript" data-module-id="./chunk-discussions-daily-contributors.js" data-src="https://github.githubassets.com/assets/chunk-discussions-daily-contributors-a841d985.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-RZFMDTXA6+c7lX5QmHt2C4cEbES9a3V7FCFUNn7V44xzj9vih7iv1yAciPJvZUvRbEi53dNXeKLc2c/1CogcXw==" type="application/javascript" data-module-id="./chunk-discussions-new-contributors.js" data-src="https://github.githubassets.com/assets/chunk-discussions-new-contributors-45914c0d.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-TLQillrC8dagau7Smjy8GmWx3jhSvBCnkTPMStBL7tvLAaowBuGx38ICPFBdM+3ammiRlfXAaEe5OdpimWnnmQ==" type="application/javascript" data-module-id="./chunk-tweetsodium.js" data-src="https://github.githubassets.com/assets/chunk-tweetsodium-4cb42296.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-eHSwjhwcxnPBWzrxiC7rQ53wHZETtJQTXUqb6WPdetPBeznP2kqRbmlyCcMXCIrqxGXpzY34wFs8/rWHYjNLFw==" type="application/javascript" data-module-id="./chunk-jump-to.js" data-src="https://github.githubassets.com/assets/chunk-jump-to-7874b08e.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-T3CuYDHAivvjENXpjyng7klVa3JwFrS4vJ+Ac6QdsKcDLIC9CT61uwVeNnHVhcEHsp4jk9idR56Qv5VZ7tXBkg==" type="application/javascript" data-module-id="./chunk-user-status-submit.js" data-src="https://github.githubassets.com/assets/chunk-user-status-submit-4f70ae60.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-L2jxBDS9QAN9O1qn7LqMcs0YJn/gF6xW73zSbWPRlVCEnG05dexaoJWkAG6RqALTnXLsj2GTUKnba6DATR828g==" type="application/javascript" data-module-id="./chunk-launch-code-element.js" data-src="https://github.githubassets.com/assets/chunk-launch-code-element-2f68f104.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-cvjyIYhR2ZkuFAXHYZSjPTc5wXYOdISgqbXw69CXpDXdxffXmXuzjCcGJNVk3mDNYsVH4Q9sb2UMNPFrNxxRUQ==" type="application/javascript" data-module-id="./chunk-metric-selection-element.js" data-src="https://github.githubassets.com/assets/chunk-metric-selection-element-72f8f221.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-/2Oeznu4Qh8QuYb4OvlxCrx/tIfHWnJrhjNFW7MOl0nRMSVUPowbUJ4F+HpdkepXw/OZkF22CN7CN1dRv8bJmQ==" type="application/javascript" data-module-id="./chunk-severity-calculator-element.js" data-src="https://github.githubassets.com/assets/chunk-severity-calculator-element-ff639ece.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-VjkMdcEtlHEJjard7MoGBDuAJ4N4vQlJpvGXIJo9d/i/HGnwF3gLFyYqzjHE7UxyP3pturpOv8BQ29Vnr/Atwg==" type="application/javascript" data-module-id="./chunk-command-palette-page-element.js" data-src="https://github.githubassets.com/assets/chunk-command-palette-page-element-56390c75.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-Z6+ifrBeboG0rRu5KFwsFPLjlDI7CDTCmmLk4UiiUtDyrFoG5/iYC591qjpC9YaZt1ZJBkGP5KbN/ijCbZUGCw==" type="application/javascript" data-module-id="./chunk-command-palette-page-stack-element.js" data-src="https://github.githubassets.com/assets/chunk-command-palette-page-stack-element-67afa27e.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-yXHkwiNZgB6O0iSDKE8jrZzTtTyF8YdFFXHcemhWEPuN3sWs1PQrSwEh0Gw4/B9TIzUfvogbqlJ71yLLuqyM+Q==" type="application/javascript" data-module-id="./chunk-readme-toc-element.js" data-src="https://github.githubassets.com/assets/chunk-readme-toc-element-c971e4c2.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-aGaoVKNIqNkSpelOnfn0UCDbQLW2XBUVVkOOgVZXFNDfgJgFQNMXALc0964DwIi9kYrkYQIShePOSMFo20hHkw==" type="application/javascript" data-module-id="./chunk-feature-callout-element.js" data-src="https://github.githubassets.com/assets/chunk-feature-callout-element-6866a854.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-UPU+AoAUE6KHEpUgAiTtiIcSfgpjC2CMLgSwufa4HHT3Vp5xC+2XCBPh/uS9JQLm6s1jJsQEGyYWY4OKHtVbjQ==" type="application/javascript" data-module-id="./chunk-codespaces-policy-form-element.js" data-src="https://github.githubassets.com/assets/chunk-codespaces-policy-form-element-50f53e02.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-tjhrAsOwOkMKShPCR1t5kJuCZDh0qkv391TPnBsrNJ5wyvwVAUqVQW2bsVNvcyft0Cu2ECsH/R+7Pr91r52Ktg==" type="application/javascript" data-module-id="./chunk-action-list-element.js" data-src="https://github.githubassets.com/assets/chunk-action-list-element-b6386b02.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-3+zUhNS4KGmiMIFiQ6EUBvHTwy6xs4XRC61A+/oJegTh0OCubEosQqG7OnvUuAUd8i6PwhYaZbRm2HXZAW5kgA==" type="application/javascript" data-module-id="./chunk-memex-project-picker-element.js" data-src="https://github.githubassets.com/assets/chunk-memex-project-picker-element-dfecd484.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-ooYcnNLBDnMePhMvdQEQiItFZowYg4gwklGZGCrAWPW1LCxePPkzB1kr8U3Bay0NPKYEDmICeXBqqDPd8EDmqA==" type="application/javascript" data-module-id="./chunk-project-picker-element.js" data-src="https://github.githubassets.com/assets/chunk-project-picker-element-a2861c9c.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-YYzSijUU1oA10iMuvfzSHMK7vrQzu8aiLpIfD13kpcq2KVMqdOrIASINY5sBUNPNFZbSLKmBfTcEXEKVcQZHfQ==" type="application/javascript" data-module-id="./chunk-sortable-behavior.js" data-src="https://github.githubassets.com/assets/chunk-sortable-behavior-618cd28a.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-6JUQHgkTqBaCCdDugMcO4fQ8YxUHk+m6rwVp2Wxa4FMVz6BbBMPOzGluT4wBq8NTUcFv6DnXSOnt5e85jNgpGg==" type="application/javascript" data-module-id="./chunk-drag-drop.js" data-src="https://github.githubassets.com/assets/chunk-drag-drop-e895101e.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-28pipPJZvizfcYYETJWBBeDHsrDEz7A06d7Y5swgY/OWmsX0ZJW6mkZVFRO7Z/xZh1D1qFbPHGNixfCd1YpBnA==" type="application/javascript" data-module-id="./chunk-contributions-spider-graph.js" data-src="https://github.githubassets.com/assets/chunk-contributions-spider-graph-dbca62a4.js"></script>
<script crossorigin="anonymous" defer="defer" integrity="sha512-VQRofBwNZhBa4vBuw0P5bjjlVtO2R+l1M0TOfMZHX1bB7xy//CFwqmyaL24rLfgLx8sahKZ7eEw1o+nkFoUzNA==" type="application/javascript" data-module-id="./chunk-webgl-warp.js" data-src="https://github.githubassets.com/assets/chunk-webgl-warp-5504687c.js"></script>
<meta name="hovercard-subject-tag" content="repository:125073905" data-pjax-transient>
<meta name="google-site-verification" content="c1kuD-K2HIVF635lypcsWPoD4kilo5-jA_wBFyT4uMY">
<meta name="hostname" content="github.com">
<meta name="user-login" content="">
<meta name="expected-hostname" content="github.com">
<meta name="enabled-features" content="MARKETPLACE_PENDING_INSTALLATIONS">
<link rel="canonical" href="https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md" data-pjax-transient>
<div class="position-relative js-header-wrapper ">
<a href="#start-of-content" class="px-2 py-4 color-bg-accent-emphasis color-fg-on-emphasis show-on-focus js-skip-to-content">Skip to content</a>
<span data-view-component="true" class="progress-pjax-loader js-pjax-loader-bar Progress position-fixed width-full">
<span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis"></span>
<header class="Header-old header-logged-out js-details-container Details position-relative f4 py-2" role="banner">
<div class="d-lg-none css-truncate css-truncate-target width-fit p-2">
</div>
<div class="d-flex flex-items-center">
<a href="/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo"
class="d-inline-block d-lg-none f5 no-underline border color-border-default rounded-2 px-2 py-1 mr-3 mr-sm-5 color-fg-inherit"
data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="e12f8f77c3a7eb008a4d4c33b7fe2f4dc9b792fec8ccdaa9a1de07ba4098a674"
>
Sign up
</a>
<button aria-label="Toggle navigation" aria-expanded="false" type="button" data-view-component="true" class="js-details-target btn-link d-lg-none mt-1 color-fg-inherit"> <svg aria-hidden="true" height="24" viewBox="0 0 16 16" version="1.1" width="24" data-view-component="true" class="octicon octicon-three-bars">
<path fill-rule="evenodd" d="M1 2.75A.75.75 0 011.75 2h12.5a.75.75 0 110 1.5H1.75A.75.75 0 011 2.75zm0 5A.75.75 0 011.75 7h12.5a.75.75 0 110 1.5H1.75A.75.75 0 011 7.75zM1.75 12a.75.75 0 100 1.5h12.5a.75.75 0 100-1.5H1.75z"></path>
<div class="HeaderMenu HeaderMenu--logged-out position-fixed top-0 right-0 bottom-0 height-fit position-lg-relative d-lg-flex flex-justify-between flex-items-center flex-auto">
<div class="d-flex d-lg-none flex-justify-end border-bottom color-bg-subtle p-3">
<button aria-label="Toggle navigation" aria-expanded="false" type="button" data-view-component="true" class="js-details-target btn-link"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-x color-fg-muted">
<path fill-rule="evenodd" d="M5.72 5.72a.75.75 0 011.06 0L12 10.94l5.22-5.22a.75.75 0 111.06 1.06L13.06 12l5.22 5.22a.75.75 0 11-1.06 1.06L12 13.06l-5.22 5.22a.75.75 0 01-1.06-1.06L10.94 12 5.72 6.78a.75.75 0 010-1.06z"></path>
<nav class="mt-0 px-3 px-lg-0 mb-5 mb-lg-0" aria-label="Global">
<ul class="d-lg-flex list-style-none">
<li class="mr-0 mr-lg-3 position-relative flex-wrap flex-justify-between flex-items-center border-bottom border-lg-bottom-0 d-block d-lg-flex flex-lg-nowrap flex-lg-items-center">
<details class="HeaderMenu-details details-overlay details-reset width-full">
<summary class="HeaderMenu-summary HeaderMenu-link px-0 py-3 border-0 no-wrap d-block d-lg-inline-block">
Why GitHub?
<svg x="0" y="0" viewBox="0 0 14 8" xml:space="preserve" fill="none" class="icon-chevon-down-mktg position-absolute position-lg-relative"><path d="M1,1l6.2,6L13,1"></path></svg>
</summary>
<div class="dropdown-menu flex-auto rounded px-0 mt-0 pb-4 p-lg-4 position-relative position-lg-absolute left-0 left-lg-n4">
<ul class="list-style-none f5 pb-1">
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--primary text-bold py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Features","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Features;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="5c85a0506902075ef5ccdcc4cd1f2e056908125c2e6cd1a3cdbd49e050c506c2" data-analytics-event="{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Features","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Features;"}" href="/features">
Features
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Mobile","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Mobile;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="ac14608021c49a7372dde35ebb24477109a5a9414774f01132942525e175ba64" data-analytics-event="{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Mobile","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Mobile;"}" href="/mobile">
Mobile
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Actions","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Actions;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="f908417c21d183c5bec5298986f0e50c6b5d7733b68c86c4cdc9a22ea6d7e7ee" data-analytics-event="{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Actions","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Actions;"}" href="/features/actions">
Actions
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Codespaces","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Codespaces;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="65347df2252c065671e8d6aba987533f57b654ce31298f14326cac9afd5e2566" data-analytics-event="{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Codespaces","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Codespaces;"}" href="/features/codespaces">
Codespaces
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Packages","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Packages;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="b01bcddb6eefc4e7b9b15005e8c9491d7018b73631419cdf4d3d2591b9c02613" data-analytics-event="{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Packages","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Packages;"}" href="/features/packages">
Packages
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Security","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Security;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="d5bd96e2f4bab7c4cd7b7cac9ecfb749ce6bae4c2ce816bc80cf914b6de0d995" data-analytics-event="{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Security","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Security;"}" href="/features/security">
Security
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Code review","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Code review;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="6bc6a6d54a12d58e01110d88806a2d5833438c7f05bd15fe7c19645d6a294dde" data-analytics-event="{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Code review","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Code review;"}" href="/features/code-review">
Code review
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Issues","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Issues;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="277864840265d67c0d8d5aa8a554f2edf17ed4c5272a329978dff47c0ad41c4a" data-analytics-event="{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Issues","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Issues;"}" href="/features/issues">
Issues
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Integrations","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Integrations;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="f2f4d84edb7bd4c22eb987c0cd1f64fea85c8decc5670e8cf0a29125d7b2fdd1" data-analytics-event="{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Integrations","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Integrations;"}" href="/features/integrations">
Integrations
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--primary text-bold border-top pt-4 pb-2 mt-3" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to GitHub Sponsors","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:GitHub Sponsors;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="f3998fdcd7f40f0ef3ca6d6fb30fcbc41913670bd780ccd4551ccdce2265eb84" data-analytics-event="{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to GitHub Sponsors","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:GitHub Sponsors;"}" href="/sponsors">
GitHub Sponsors
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--primary text-bold py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Customer stories","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Customer stories;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="2bfbf490abc959d4d336466fc47a38d94f9d054b0739f1b7fa727d9d30ab4a4f" data-analytics-event="{"category":"Header dropdown (logged out), Why GitHub?","action":"click to go to Customer stories","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Customer stories;"}" href="/customer-stories">
Customer stories
</ul>
</div>
</details>
<li class="mr-0 mr-lg-3 position-relative flex-wrap flex-justify-between flex-items-center border-bottom border-lg-bottom-0 d-block d-lg-flex flex-lg-nowrap flex-lg-items-center">
<a class="HeaderMenu-link no-underline py-3 d-block d-lg-inline-block" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header menu top item (logged out)","action":"click to go to Team","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Team;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="52b42ef7925f941227afd179a9129a707302388454a5943afec6b471111c7220" data-analytics-event="{"category":"Header menu top item (logged out)","action":"click to go to Team","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Team;"}" href="/team">Team</a>
<li class="mr-0 mr-lg-3 position-relative flex-wrap flex-justify-between flex-items-center border-bottom border-lg-bottom-0 d-block d-lg-flex flex-lg-nowrap flex-lg-items-center">
<a class="HeaderMenu-link no-underline py-3 d-block d-lg-inline-block" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header menu top item (logged out)","action":"click to go to Enterprise","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Enterprise;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="8398ba9d1f68acd2e0f35a722b028991a653655299eee8f1812d2800a8276297" data-analytics-event="{"category":"Header menu top item (logged out)","action":"click to go to Enterprise","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Enterprise;"}" href="/enterprise">Enterprise</a>
<li class="mr-0 mr-lg-3 position-relative flex-wrap flex-justify-between flex-items-center border-bottom border-lg-bottom-0 d-block d-lg-flex flex-lg-nowrap flex-lg-items-center">
<details class="HeaderMenu-details details-overlay details-reset width-full">
<summary class="HeaderMenu-summary HeaderMenu-link px-0 py-3 border-0 no-wrap d-block d-lg-inline-block">
Explore
<svg x="0" y="0" viewBox="0 0 14 8" xml:space="preserve" fill="none" class="icon-chevon-down-mktg position-absolute position-lg-relative"><path d="M1,1l6.2,6L13,1"></path></svg>
</summary>
<div class="dropdown-menu flex-auto rounded px-0 mt-0 pb-4 p-lg-4 position-relative position-lg-absolute left-0 left-lg-n4">
<ul class="list-style-none f5 pb-1">
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--primary text-bold py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Explore","action":"click to go to Explore GitHub","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Explore GitHub;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="1df1749a0583b796d971fcf16ac41bcdb93cb82fa889bf02b9d9b7637319beeb" data-analytics-event="{"category":"Header dropdown (logged out), Explore","action":"click to go to Explore GitHub","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Explore GitHub;"}" href="/explore">
Explore GitHub
<li class="color-fg-muted text-normal f6 text-mono mb-1 border-top pt-3 mt-3 mb-1">Learn and contribute</li>
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Explore","action":"click to go to Topics","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Topics;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="81ecb39f232b358a3eb1a4c39baa8cd4bedbabed689f3e648e2ab197b1fb3dd1" data-analytics-event="{"category":"Header dropdown (logged out), Explore","action":"click to go to Topics","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Topics;"}" href="/topics">
Topics
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Explore","action":"click to go to Collections","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Collections;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="0ac0f2ff40b14fc08dc3344255e4cf834367bdf8b82985439a330a0d5d5cff73" data-analytics-event="{"category":"Header dropdown (logged out), Explore","action":"click to go to Collections","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Collections;"}" href="/collections">
Collections
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Explore","action":"click to go to Trending","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Trending;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="036183db24f036da190e00d81192ccecf5f99af5170646725be1e4aa3dfd9b96" data-analytics-event="{"category":"Header dropdown (logged out), Explore","action":"click to go to Trending","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Trending;"}" href="/trending">
Trending
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Explore","action":"click to go to Learning Lab","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Learning Lab;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="75b153d1f120a0d2622a7ce3467c22de8eafbcd880ee3bc5fa2ea8bd81af9a62" data-analytics-event="{"category":"Header dropdown (logged out), Explore","action":"click to go to Learning Lab","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Learning Lab;"}" href="https://lab.github.com/">
Learning Lab
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Explore","action":"click to go to Open source guides","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Open source guides;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="b49ed3bbd77c52f813e3f7f81a6120e06dcc2987b00a4109f3458f9c44c32e7b" data-analytics-event="{"category":"Header dropdown (logged out), Explore","action":"click to go to Open source guides","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Open source guides;"}" href="https://opensource.guide">
Open source guides
<li class="color-fg-muted text-normal f6 text-mono mb-1 border-top pt-3 mt-3 mb-1">Connect with others</li>
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Explore","action":"click to go to The ReadME Project","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:The ReadME Project;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="26067404520f927f0544d84901c08732ea783ec398538a424186841efcca1409" data-analytics-event="{"category":"Header dropdown (logged out), Explore","action":"click to go to The ReadME Project","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:The ReadME Project;"}" href="/readme">
The ReadME Project
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Explore","action":"click to go to Events","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Events;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="2340e500693f76476cb3539a5b6cac40ecf99a90a3c1fedc553b32b576a230d5" data-analytics-event="{"category":"Header dropdown (logged out), Explore","action":"click to go to Events","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Events;"}" href="/events">
Events
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Explore","action":"click to go to Community forum","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Community forum;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="eca63644af803cc03af501030502e300d607f1e780643d1935525030c0ea6ac7" data-analytics-event="{"category":"Header dropdown (logged out), Explore","action":"click to go to Community forum","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Community forum;"}" href="https://github.community">
Community forum
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Explore","action":"click to go to GitHub Education","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:GitHub Education;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="ce0ba889288c6b71796897932df11ba2bb713d8da69ff85e0aa829e6b4885f6b" data-analytics-event="{"category":"Header dropdown (logged out), Explore","action":"click to go to GitHub Education","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:GitHub Education;"}" href="https://education.github.com">
GitHub Education
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Explore","action":"click to go to GitHub Stars program","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:GitHub Stars program;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="a0e197c2dc73a14e08aacc9a324fa3a5c544c8e11426618f945cd1574d307f15" data-analytics-event="{"category":"Header dropdown (logged out), Explore","action":"click to go to GitHub Stars program","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:GitHub Stars program;"}" href="https://stars.github.com">
GitHub Stars program
</ul>
</div>
</details>
<li class="mr-0 mr-lg-3 position-relative flex-wrap flex-justify-between flex-items-center border-bottom border-lg-bottom-0 d-block d-lg-flex flex-lg-nowrap flex-lg-items-center">
<a class="HeaderMenu-link no-underline py-3 d-block d-lg-inline-block" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header menu top item (logged out)","action":"click to go to Marketplace","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Marketplace;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="cd1b042d5c99ef6eb155fb586b17018b182f962a43004ededcc7878866d9a8ca" data-analytics-event="{"category":"Header menu top item (logged out)","action":"click to go to Marketplace","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Marketplace;"}" href="/marketplace">Marketplace</a>
<li class="mr-0 mr-lg-3 position-relative flex-wrap flex-justify-between flex-items-center border-bottom border-lg-bottom-0 d-block d-lg-flex flex-lg-nowrap flex-lg-items-center">
<details class="HeaderMenu-details details-overlay details-reset width-full">
<summary class="HeaderMenu-summary HeaderMenu-link px-0 py-3 border-0 no-wrap d-block d-lg-inline-block">
Pricing
<svg x="0" y="0" viewBox="0 0 14 8" xml:space="preserve" fill="none" class="icon-chevon-down-mktg position-absolute position-lg-relative"><path d="M1,1l6.2,6L13,1"></path></svg>
</summary>
<div class="dropdown-menu flex-auto rounded px-0 mt-0 pb-4 p-lg-4 position-relative position-lg-absolute left-0 left-lg-n4">
<ul class="list-style-none f5 pb-1">
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--primary text-bold py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Pricing","action":"click to go to Plans","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Plans;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="f1df7fcb02fae86b9cdcfaa46251ff22f2d4ab9607e2f0a8aa9a38c5cc78f1ad" data-analytics-event="{"category":"Header dropdown (logged out), Pricing","action":"click to go to Plans","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Plans;"}" href="/pricing">
Plans
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Pricing","action":"click to go to Compare plans","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Compare plans;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="45d64ee55b2dbbab8c9f65f5fc2d1b0532123cdcd023e852825cfcaf9f87f89c" data-analytics-event="{"category":"Header dropdown (logged out), Pricing","action":"click to go to Compare plans","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Compare plans;"}" href="/pricing#compare-features">
Compare plans
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--secondary py-2" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Pricing","action":"click to go to Contact Sales","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Contact Sales;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="bab9242118e56738c21a2affc9aed4bbb225cc3eea40f06cbd247812c85e6774" data-analytics-event="{"category":"Header dropdown (logged out), Pricing","action":"click to go to Contact Sales","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Contact Sales;"}" href="https://github.com/enterprise/contact">
Contact Sales
<li>
<a class="lh-condensed-ultra d-block no-underline position-relative Link--primary text-bold border-top pt-4 pb-2 mt-3" data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Header dropdown (logged out), Pricing","action":"click to go to Education","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Education;","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="a2a4f0ad3eebca4dd63263e03b053718cb2a7a98b23736af92fddfb71a15fe6a" data-analytics-event="{"category":"Header dropdown (logged out), Pricing","action":"click to go to Education","label":"ref_page:/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md;ref_cta:Education;"}" href="https://education.github.com">
Education
</ul>
</div>
</details>
</ul>
</nav>
<div class="d-lg-flex flex-items-center px-3 px-lg-0 text-center text-lg-left">
<div class="d-lg-flex min-width-0 mb-3 mb-lg-0">
<div class="Box position-absolute overflow-hidden d-none jump-to-suggestions js-jump-to-suggestions-container">
-
<img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" alt="" aria-label="Team" src="" width="28" height="28"> <div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target"> </div> <div class="border rounded-1 flex-shrink-0 color-bg-subtle px-1 color-fg-muted ml-1 f6 d-none js-jump-to-badge-search"> <span class="js-jump-to-badge-search-text-default d-none" aria-label="in this repository"> In this repository </span> <span class="js-jump-to-badge-search-text-global d-none" aria-label="in all of GitHub"> All GitHub </span> <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span> </div> <div aria-hidden="true" class="border rounded-1 flex-shrink-0 color-bg-subtle px-1 color-fg-muted ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump"> Jump to <span class="d-inline-block ml-1 v-align-middle">↵</span> </div>
- No suggested jump to results
-
<img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" alt="" aria-label="Team" src="" width="28" height="28"> <div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target"> </div> <div class="border rounded-1 flex-shrink-0 color-bg-subtle px-1 color-fg-muted ml-1 f6 d-none js-jump-to-badge-search"> <span class="js-jump-to-badge-search-text-default d-none" aria-label="in this repository"> In this repository </span> <span class="js-jump-to-badge-search-text-global d-none" aria-label="in all of GitHub"> All GitHub </span> <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span> </div> <div aria-hidden="true" class="border rounded-1 flex-shrink-0 color-bg-subtle px-1 color-fg-muted ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump"> Jump to <span class="d-inline-block ml-1 v-align-middle">↵</span> </div>
-
<img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" alt="" aria-label="Team" src="" width="28" height="28"> <div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target"> </div> <div class="border rounded-1 flex-shrink-0 color-bg-subtle px-1 color-fg-muted ml-1 f6 d-none js-jump-to-badge-search"> <span class="js-jump-to-badge-search-text-default d-none" aria-label="in this organization"> In this organization </span> <span class="js-jump-to-badge-search-text-global d-none" aria-label="in all of GitHub"> All GitHub </span> <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span> </div> <div aria-hidden="true" class="border rounded-1 flex-shrink-0 color-bg-subtle px-1 color-fg-muted ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump"> Jump to <span class="d-inline-block ml-1 v-align-middle">↵</span> </div>
-
<img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" alt="" aria-label="Team" src="" width="28" height="28"> <div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target"> </div> <div class="border rounded-1 flex-shrink-0 color-bg-subtle px-1 color-fg-muted ml-1 f6 d-none js-jump-to-badge-search"> <span class="js-jump-to-badge-search-text-default d-none" aria-label="in this repository"> In this repository </span> <span class="js-jump-to-badge-search-text-global d-none" aria-label="in all of GitHub"> All GitHub </span> <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span> </div> <div aria-hidden="true" class="border rounded-1 flex-shrink-0 color-bg-subtle px-1 color-fg-muted ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump"> Jump to <span class="d-inline-block ml-1 v-align-middle">↵</span> </div>
</div>
</label>
</div>
<div class="position-relative mr-3 mb-4 mb-lg-0 d-inline-block">
<a href="/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleworkspace%2Fgo-samples%2Fblob%2Fmaster%2Fgmail%2Fquickstart%2FREADME.md"
class="HeaderMenu-link flex-shrink-0 no-underline"
data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="933ede85d4d9b6bdd2b1253822ac36f66b295f95a242bbce2966ccc704ce2e1f"
data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">
Sign in
</a>
</div>
<a href="/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=googleworkspace%2Fgo-samples"
class="HeaderMenu-link flex-shrink-0 d-inline-block no-underline border color-border-default rounded px-2 py-1"
data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="933ede85d4d9b6bdd2b1253822ac36f66b295f95a242bbce2966ccc704ce2e1f"
data-hydro-click="{"event_type":"analytics.event","payload":{"category":"Sign up","action":"click to sign up for account","label":"ref_page:/<user-name>/<repo-name>/blob/show;ref_cta:Sign up;ref_loc:header logged out","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="9a966007963e037017fc0b080fc11c3f150334fc13dd187e8e58a979a56354a5" data-analytics-event="{"category":"Sign up","action":"click to sign up for account","label":"ref_page:/<user-name>/<repo-name>/blob/show;ref_cta:Sign up;ref_loc:header logged out"}"
>
Sign up
</a>
</div>
</div>
</div>
<div data-pjax-replace id="js-flash-container">
<div>{{ message }}</div>
<include-fragment src="/orgs/googleworkspace/survey_banner" data-test-selector="survey-banner-selector">
<div class="d-flex mb-3 px-3 px-md-4 px-lg-5">
<div class="flex-auto min-width-0 width-fit mr-3">
<h1 class=" d-flex flex-wrap flex-items-center wb-break-word f3 text-normal">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo color-fg-muted mr-2">
<path fill-rule="evenodd" d="M2 2.5A2.5 2.5 0 014.5 0h8.75a.75.75 0 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356 0-.694.074-1 .208V2.5a1 1 0 011-1h8zM5 12.25v3.25a.25.25 0 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z"></path>
googleworkspace
/
go-samples
Public
</div>
<ul class="pagehead-actions flex-shrink-0 d-none d-md-inline" style="padding: 2px 0;">
<li>
<a href="/login?return_to=%2Fgoogleworkspace%2Fgo-samples" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"repo details fork button","repository_id":125073905,"auth_type":"LOG_IN","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="565def1ae0b766eeaffc7db5865ce4d16af418392dc29fc3569e56685229d922" aria-label="You must be signed in to fork a repository" data-view-component="true" class="tooltipped tooltipped-s btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo-forked mr-2">
<path fill-rule="evenodd" d="M5 3.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm0 2.122a2.25 2.25 0 10-1.5 0v.878A2.25 2.25 0 005.75 8.5h1.5v2.128a2.251 2.251 0 101.5 0V8.5h1.5a2.25 2.25 0 002.25-2.25v-.878a2.25 2.25 0 10-1.5 0v.878a.75.75 0 01-.75.75h-4.5A.75.75 0 015 6.25v-.878zm3.75 7.378a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm3-8.75a.75.75 0 100-1.5.75.75 0 000 1.5z"></path>
Fork 89
</li>
<li>
<div data-view-component="true" class="BtnGroup d-flex">
<a href="/login?return_to=%2Fgoogleworkspace%2Fgo-samples" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"star button","repository_id":125073905,"auth_type":"LOG_IN","originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="c1944461ba91ea414fe9d3dd8606df7acc333583d1b540634666b7fb04a3fee4" aria-label="You must be signed in to star a repository" data-view-component="true" class="tooltipped tooltipped-s btn-sm btn BtnGroup-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-star v-align-text-bottom d-inline-block mr-2">
<path fill-rule="evenodd" d="M8 .25a.75.75 0 01.673.418l1.882 3.815 4.21.612a.75.75 0 01.416 1.279l-3.046 2.97.719 4.192a.75.75 0 01-1.088.791L8 12.347l-3.766 1.98a.75.75 0 01-1.088-.79l.72-4.194L.818 6.374a.75.75 0 01.416-1.28l4.21-.611L7.327.668A.75.75 0 018 .25zm0 2.445L6.615 5.5a.75.75 0 01-.564.41l-3.097.45 2.24 2.184a.75.75 0 01.216.664l-.528 3.084 2.769-1.456a.75.75 0 01.698 0l2.77 1.456-.53-3.084a.75.75 0 01.216-.664l2.24-2.183-3.096-.45a.75.75 0 01-.564-.41L8 2.694v.001z"></path>
Star 143
</div>
<div id="responsive-meta-container" data-pjax-replace>
-
Code<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code UnderlineNav-octicon d-none d-sm-inline"> <path fill-rule="evenodd" d="M4.72 3.22a.75.75 0 011.06 1.06L2.06 8l3.72 3.72a.75.75 0 11-1.06 1.06L.47 8.53a.75.75 0 010-1.06l4.25-4.25zm6.56 0a.75.75 0 10-1.06 1.06L13.94 8l-3.72 3.72a.75.75 0 101.06 1.06l4.25-4.25a.75.75 0 000-1.06l-4.25-4.25z"></path>
-
Issues 10<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-issue-opened UnderlineNav-octicon d-none d-sm-inline"> <path d="M8 9.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"></path><path fill-rule="evenodd" d="M8 0a8 8 0 100 16A8 8 0 008 0zM1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0z"></path>
-
Pull requests 4<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-pull-request UnderlineNav-octicon d-none d-sm-inline"> <path fill-rule="evenodd" d="M7.177 3.073L9.573.677A.25.25 0 0110 .854v4.792a.25.25 0 01-.427.177L7.177 3.427a.25.25 0 010-.354zM3.75 2.5a.75.75 0 100 1.5.75.75 0 000-1.5zm-2.25.75a2.25 2.25 0 113 2.122v5.256a2.251 2.251 0 11-1.5 0V5.372A2.25 2.25 0 011.5 3.25zM11 2.5h-1V4h1a1 1 0 011 1v5.628a2.251 2.251 0 101.5 0V5A2.5 2.5 0 0011 2.5zm1 10.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM3.75 12a.75.75 0 100 1.5.75.75 0 000-1.5z"></path>
-
Actions<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play UnderlineNav-octicon d-none d-sm-inline"> <path fill-rule="evenodd" d="M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zM6.379 5.227A.25.25 0 006 5.442v5.117a.25.25 0 00.379.214l4.264-2.559a.25.25 0 000-.428L6.379 5.227z"></path>
-
Projects 0<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-table UnderlineNav-octicon d-none d-sm-inline"> <path fill-rule="evenodd" d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v3.585a.746.746 0 010 .83v8.085A1.75 1.75 0 0114.25 16H6.309a.748.748 0 01-1.118 0H1.75A1.75 1.75 0 010 14.25V6.165a.746.746 0 010-.83V1.75zM1.5 6.5v7.75c0 .138.112.25.25.25H5v-8H1.5zM5 5H1.5V1.75a.25.25 0 01.25-.25H5V5zm1.5 1.5v8h7.75a.25.25 0 00.25-.25V6.5h-8zm8-1.5h-8V1.5h7.75a.25.25 0 01.25.25V5z"></path>
-
Wiki<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-book UnderlineNav-octicon d-none d-sm-inline"> <path fill-rule="evenodd" d="M0 1.75A.75.75 0 01.75 1h4.253c1.227 0 2.317.59 3 1.501A3.744 3.744 0 0111.006 1h4.245a.75.75 0 01.75.75v10.5a.75.75 0 01-.75.75h-4.507a2.25 2.25 0 00-1.591.659l-.622.621a.75.75 0 01-1.06 0l-.622-.621A2.25 2.25 0 005.258 13H.75a.75.75 0 01-.75-.75V1.75zm8.755 3a2.25 2.25 0 012.25-2.25H14.5v9h-3.757c-.71 0-1.4.201-1.992.572l.004-7.322zm-1.504 7.324l.004-5.073-.002-2.253A2.25 2.25 0 005.003 2.5H1.5v9h3.757a3.75 3.75 0 011.994.574z"></path>
-
Security<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield UnderlineNav-octicon d-none d-sm-inline"> <path fill-rule="evenodd" d="M7.467.133a1.75 1.75 0 011.066 0l5.25 1.68A1.75 1.75 0 0115 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.7 1.7 0 01-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 011.217-1.667l5.25-1.68zm.61 1.429a.25.25 0 00-.153 0l-5.25 1.68a.25.25 0 00-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.2.2 0 00.154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.25.25 0 00-.174-.237l-5.25-1.68zM9 10.5a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.75a.75.75 0 10-1.5 0v3a.75.75 0 001.5 0v-3z"></path>
-
Insights<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-graph UnderlineNav-octicon d-none d-sm-inline"> <path fill-rule="evenodd" d="M1.5 1.75a.75.75 0 00-1.5 0v12.5c0 .414.336.75.75.75h14.5a.75.75 0 000-1.5H1.5V1.75zm14.28 2.53a.75.75 0 00-1.06-1.06L10 7.94 7.53 5.47a.75.75 0 00-1.06 0L3.22 8.72a.75.75 0 001.06 1.06L7 7.06l2.47 2.47a.75.75 0 001.06 0l5.25-5.25z"></path>
More
<ul>
<li data-menu-item="i0code-tab" hidden>
<a role="menuitem" class="js-selected-navigation-item selected dropdown-item" aria-current="page" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches repo_packages repo_deployments /googleworkspace/go-samples" href="/googleworkspace/go-samples">
Code
<a class="d-none js-permalink-shortcut" data-hotkey="y" href="/googleworkspace/go-samples/blob/a24ad3fe022e2991f2bfa88ba7a7837e2fbdf9d8/gmail/quickstart/README.md">Permalink</a>
<div class="d-flex flex-items-start flex-shrink-0 pb-3 flex-wrap flex-md-nowrap flex-justify-between flex-md-justify-start">
master
<input-demux data-action="tab-container-change:input-demux#storeInput tab-container-changed:input-demux#updateInput">
<tab-container class="d-flex flex-column js-branches-tags-tabs" style="min-height: 0;">
<div class="SelectMenu-filter">
<input data-target="input-demux.source"
id="context-commitish-filter-field"
class="SelectMenu-input form-control"
aria-owns="ref-list-branches"
data-controls-ref-menu-id="ref-list-branches"
autofocus
autocomplete="off"
aria-label="Filter branches/tags"
placeholder="Filter branches/tags"
type="text"
>
</div>
<div class="SelectMenu-tabs" role="tablist" data-target="input-demux.control" >
<button class="SelectMenu-tab" type="button" role="tab" aria-selected="true">Branches</button>
<button class="SelectMenu-tab" type="button" role="tab">Tags</button>
</div>
<div role="tabpanel" id="ref-list-branches" data-filter-placeholder="Filter branches/tags" class="d-flex flex-column flex-auto overflow-auto" tabindex="">
<ref-selector
type="branch"
data-targets="input-demux.sinks"
data-action="
input-entered:ref-selector#inputEntered
tab-selected:ref-selector#tabSelected
focus-list:ref-selector#focusFirstListMember
"
query-endpoint="/googleworkspace/go-samples/refs"
cache-key="v0:1621874626.7469969"
current-committish="bWFzdGVy"
default-branch="bWFzdGVy"
name-with-owner="Z29vZ2xld29ya3NwYWNlL2dvLXNhbXBsZXM="
prefetch-on-mouseover
>
<template data-target="ref-selector.fetchFailedTemplate">
<div class="SelectMenu-message" data-index="{{ index }}">Could not load branches</div>
</template>
<template data-target="ref-selector.noMatchTemplate">
<div class="SelectMenu-message">Nothing to show</div>
<!-- TODO: this max-height is necessary or else the branch list won't scroll. why? -->
<div data-target="ref-selector.listContainer" role="menu" class="SelectMenu-list " style="max-height: 330px" data-pjax="#repo-content-pjax-container">
<div class="SelectMenu-loading pt-3 pb-0 overflow-hidden" aria-label="Menu is loading">
<svg style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" data-view-component="true" class="anim-rotate">
<template data-target="ref-selector.itemTemplate">
{{ refName }}
default
<footer class="SelectMenu-footer"><a href="/googleworkspace/go-samples/branches">View all branches</a></footer>
</ref-selector>
</div>
<div role="tabpanel" id="tags-menu" data-filter-placeholder="Find a tag" class="d-flex flex-column flex-auto overflow-auto" tabindex="" hidden>
<ref-selector
type="tag"
data-action="
input-entered:ref-selector#inputEntered
tab-selected:ref-selector#tabSelected
focus-list:ref-selector#focusFirstListMember
"
data-targets="input-demux.sinks"
query-endpoint="/googleworkspace/go-samples/refs"
cache-key="v0:1621874626.7469969"
current-committish="bWFzdGVy"
default-branch="bWFzdGVy"
name-with-owner="Z29vZ2xld29ya3NwYWNlL2dvLXNhbXBsZXM="
>
<template data-target="ref-selector.fetchFailedTemplate">
<div class="SelectMenu-message" data-index="{{ index }}">Could not load tags</div>
</template>
<template data-target="ref-selector.noMatchTemplate">
<div class="SelectMenu-message" data-index="{{ index }}">Nothing to show</div>
</template>
<template data-target="ref-selector.itemTemplate">
{{ refName }}
default
<div data-target="ref-selector.listContainer" role="menu" class="SelectMenu-list" style="max-height: 330px" data-pjax="#repo-content-pjax-container">
<div class="SelectMenu-loading pt-3 pb-0 overflow-hidden" aria-label="Menu is loading">
<svg style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" data-view-component="true" class="anim-rotate">
<h2 id="blob-path" class="breadcrumb flex-auto flex-self-center min-width-0 text-normal mx-2 width-full width-md-auto flex-order-1 flex-md-order-none mt-3 mt-md-0">
<span class="js-repo-root text-bold"><span class="js-path-segment d-inline-block wb-break-all"><a data-pjax="#repo-content-pjax-container" href="/googleworkspace/go-samples"><span>go-samples</span></a></span></span><span class="separator">/</span><span class="js-path-segment d-inline-block wb-break-all"><a data-pjax="#repo-content-pjax-container" href="/googleworkspace/go-samples/tree/master/gmail"><span>gmail</span></a></span><span class="separator">/</span><span class="js-path-segment d-inline-block wb-break-all"><a data-pjax="#repo-content-pjax-container" href="/googleworkspace/go-samples/tree/master/gmail/quickstart"><span>quickstart</span></a></span><span class="separator">/</span><strong class="final-path">README.md</strong>
</h2>
<a href="/googleworkspace/go-samples/find/master"
class="js-pjax-capture-input btn mr-2 d-none d-md-block"
data-pjax
data-hotkey="t">
Go to file
</a>
<details id="blob-more-options-details" data-view-component="true" class="details-overlay details-reset position-relative">
- Go to file T
- Go to line L
-
Copy path
-
<span class="d-flex flex-items-baseline"> <span class="flex-auto">Copy permalink</span> </span>
<div class="Box d-flex flex-column flex-shrink-0 mb-3">
<span class="markdown-title">
<a data-pjax="true" title="refactor: various cleanups (#55)
-
refactor: add a go.mod and remove dep on x/net/context
-
fix: make code compile
-
fix: remove calls to deprecated New functions
-
fix: remove usage of for go get
-
refactor: update ci to assume modules" class="Link--secondary" href="/googleworkspace/go-samples/commit/a24ad3fe022e2991f2bfa88ba7a7837e2fbdf9d8">refactor: various cleanups (#55<a data-pjax="true" title="refactor: various cleanups (#55)
-
refactor: add a go.mod and remove dep on x/net/context
-
fix: make code compile
-
fix: remove calls to deprecated New functions
-
fix: remove usage of for go get
-
refactor: update ci to assume modules" class="Link--secondary" href="/googleworkspace/go-samples/commit/a24ad3fe022e2991f2bfa88ba7a7837e2fbdf9d8">)
<span class="hidden-text-expander ml-1 flex-shrink-0">
<button type="button" class="ellipsis-expander js-details-target" aria-expanded="false">…</button>
</span>
<span class="ml-2">
<include-fragment accept="text/fragment+html" src="/googleworkspace/go-samples/commit/a24ad3fe022e2991f2bfa88ba7a7837e2fbdf9d8/rollup?direction=e" class="d-inline"></include-fragment>
</span>
</div>
<div class="ml-3 d-flex flex-shrink-0 flex-items-center flex-justify-end color-fg-muted no-wrap">
<span class="d-none d-md-inline">
<span>Latest commit</span>
<a class="text-small text-mono Link--secondary" href="/googleworkspace/go-samples/commit/a24ad3fe022e2991f2bfa88ba7a7837e2fbdf9d8" data-pjax>a24ad3f</a>
<span itemprop="dateModified"><relative-time datetime="2021-05-24T16:43:36Z" class="no-wrap">May 24, 2021</relative-time></span>
</span>
<a data-pjax href="/googleworkspace/go-samples/commits/master/gmail/quickstart/README.md" class="ml-3 no-wrap Link--primary no-underline">
<svg text="gray" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-history">
History
* refactor: add a go.mod and remove dep on x/net/context
fix: make code compile
fix: remove calls to deprecated New functions
fix: remove usage of for go get
refactor: update ci to assume modules
4
contributors
</summary>
<details-dialog
class="Box Box--overlay d-flex flex-column anim-fade-in fast"
aria-label="Users who have contributed to this file"
src="/googleworkspace/go-samples/contributors-list/master/gmail/quickstart/README.md" preload>
<div class="Box-header">
<button class="Box-btn-octicon btn-octicon float-right" type="button" aria-label="Close dialog" data-close-dialog>
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
<path fill-rule="evenodd" d="M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"></path>
Users who have contributed to this file
contributors
</summary>
<details-dialog
class="Box Box--overlay d-flex flex-column anim-fade-in fast"
aria-label="Users who have contributed to this file"
src="/googleworkspace/go-samples/contributors-list/master/gmail/quickstart/README.md" preload>
<div class="Box-header">
<button class="Box-btn-octicon btn-octicon float-right" type="button" aria-label="Close dialog" data-close-dialog>
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
<path fill-rule="evenodd" d="M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"></path>
<readme-toc>
<div data-target="readme-toc.content" class="Box mt-3 position-relative">
<details
data-target="readme-toc.trigger" data-menu-hydro-click="{"event_type":"repository_toc_menu.click","payload":{"target":"trigger","repository_id":125073905,"originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-menu-hydro-click-hmac="181656481c602b56949329b6f7159d7de039a9f57e959b1d3c0775b2c8cef1fb" class="dropdown details-reset details-overlay"
<div class="SelectMenu-list SelectMenu-list--borderless p-2" style="overscroll-behavior: contain;">
<a role="menuitem" class="filter-item SelectMenu-item py-1 text-emphasized" style="padding-left: 12px;" data-action="click:readme-toc#blur" data-targets="readme-toc.entries" data-hydro-click="{"event_type":"repository_toc_menu.click","payload":{"target":"entry","repository_id":125073905,"originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="80282baba6c035c368b4b3be79c5ab507e1d3613dcd4cd1d8bc78095ee20ab4a" href="#gmail-go-quickstart">Gmail Go Quickstart</a>
<a role="menuitem" class="filter-item SelectMenu-item py-1 " style="padding-left: 24px;" data-action="click:readme-toc#blur" data-targets="readme-toc.entries" data-hydro-click="{"event_type":"repository_toc_menu.click","payload":{"target":"entry","repository_id":125073905,"originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="80282baba6c035c368b4b3be79c5ab507e1d3613dcd4cd1d8bc78095ee20ab4a" href="#credentials">Credentials</a>
<a role="menuitem" class="filter-item SelectMenu-item py-1 " style="padding-left: 24px;" data-action="click:readme-toc#blur" data-targets="readme-toc.entries" data-hydro-click="{"event_type":"repository_toc_menu.click","payload":{"target":"entry","repository_id":125073905,"originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="80282baba6c035c368b4b3be79c5ab507e1d3613dcd4cd1d8bc78095ee20ab4a" href="#install">Install</a>
<a role="menuitem" class="filter-item SelectMenu-item py-1 " style="padding-left: 24px;" data-action="click:readme-toc#blur" data-targets="readme-toc.entries" data-hydro-click="{"event_type":"repository_toc_menu.click","payload":{"target":"entry","repository_id":125073905,"originating_url":"https://github.com/googleworkspace/go-samples/blob/master/gmail/quickstart/README.md","user_id":null}}" data-hydro-click-hmac="80282baba6c035c368b4b3be79c5ab507e1d3613dcd4cd1d8bc78095ee20ab4a" href="#run">Run</a>
</div>
</div>
18 lines (11 sloc)
<span class="file-info-divider"></span>
493 Bytes
<div class="BtnGroup">
<a href="/googleworkspace/go-samples/raw/master/gmail/quickstart/README.md" id="raw-url" data-view-component="true" class="btn-sm btn BtnGroup-item"> Raw
Blame
<div>
<a class="btn-octicon tooltipped tooltipped-nw js-remove-unless-platform"
data-platforms="windows,mac"
href="https://desktop.github.com"
aria-label="Open this file in GitHub Desktop"
data-ga-click="Repository, open with desktop">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-desktop">
<path fill-rule="evenodd" d="M1.75 2.5h12.5a.25.25 0 01.25.25v7.5a.25.25 0 01-.25.25H1.75a.25.25 0 01-.25-.25v-7.5a.25.25 0 01.25-.25zM14.25 1H1.75A1.75 1.75 0 000 2.75v7.5C0 11.216.784 12 1.75 12h3.727c-.1 1.041-.52 1.872-1.292 2.757A.75.75 0 004.75 16h6.5a.75.75 0 00.565-1.243c-.772-.885-1.193-1.716-1.292-2.757h3.727A1.75 1.75 0 0016 10.25v-7.5A1.75 1.75 0 0014.25 1zM9.018 12H6.982a5.72 5.72 0 01-.765 2.5h3.566a5.72 5.72 0 01-.765-2.5z"></path>
<a href="/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleworkspace%2Fgo-samples%2Fblob%2Fmaster%2Fgmail%2Fquickstart%2FREADME.md" class="btn-octicon disabled tooltipped tooltipped-nw"
aria-label="You must be signed in to make or propose changes">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-pencil">
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
<div class="d-flex hide-lg hide-xl flex-order-2 flex-grow-0">
<details class="dropdown details-reset details-overlay d-inline-block">
<summary class="btn-octicon p-2" aria-haspopup="true" aria-label="possible actions">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal">
<path d="M8 9a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM1.5 9a1.5 1.5 0 100-3 1.5 1.5 0 000 3zm13 0a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"></path>
<ul class="dropdown-menu dropdown-menu-sw" style="width: 175px">
<li>
<a class="dropdown-item tooltipped tooltipped-nw js-remove-unless-platform"
data-platforms="windows,mac"
href="https://desktop.github.com"
data-ga-click="Repository, open with desktop">
Open with Desktop
</a>
</li>
<li>
<a class="dropdown-item" href="/googleworkspace/go-samples/raw/master/gmail/quickstart/README.md">
View raw
</a>
</li>
<li>
</li>
<li>
<a class="dropdown-item" href="/googleworkspace/go-samples/blame/master/gmail/quickstart/README.md">
View blame
</a>
</li>
</ul>
</details>
</div>
<div id="readme" class="Box-body readme blob js-code-block-container p-5 p-xl-6 gist-border-0">
<article class="markdown-body entry-content container-lg" itemprop="text"><h1 dir="auto"><a id="user-content-gmail-go-quickstart" class="anchor" aria-hidden="true" href="#gmail-go-quickstart"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a>Gmail Go Quickstart</h1>
Complete the steps described in the Gmail Go Quickstart, and in about five minutes you'll have a simple Go command-line application that makes requests to the Gmail API.
Credentials
Download the credentials.json
file to this directory by following the steps in the above link.
Install
go get google.golang.org/api/gmail/v1 go get golang.org/x/oauth2/google
Run
go run quickstart.go
</div>
Go
<div class="Popover anim-scale-in js-tagsearch-popover"
hidden
data-tagsearch-url="/googleworkspace/go-samples/find-definition"
data-tagsearch-ref="master">
</main>
<footer class="footer width-full container-xl p-responsive" role="contentinfo">
<div class="Popover js-hovercard-content position-absolute" style="display: none; outline: none;" tabindex="0">
<template id="snippet-clipboard-copy-button">
Documentation ¶
Overview ¶
*
- @license
- Copyright Google Inc. *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- https://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
[START gmail_quickstart]