Discover Packages
github.com/googleworkspace/go-samples
drive
quickstart
command
Version:
v0.0.0-...-fafb985
Opens a new window with list of versions in this module.
Published: Oct 3, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Google Drive Go Quickstart
Complete the steps described in the Google Drive Go Quickstart , and in about five minutes you'll have a simple Go command-line application that makes requests to the Drive API.
Credentials
Download the credentials.json
file to this directory by following the steps in the above link.
Install Dependencies
go get google.golang.org/api/drive/v3
go get golang.org/x/oauth2/google
Run
go run quickstart.go
Expand ▾
Collapse ▴
Documentation
¶
*
@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 drive_quickstart]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.