Documentation
¶
Index ¶
- func CreateDoc(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, name string, ...) (string, string, error)
- func GetDoc(ctx context.Context, c *msgraphsdkgo.GraphServiceClient, docID string) (string, error)
- func GetDocByPath(ctx context.Context, c *msgraphsdkgo.GraphServiceClient, path string) (string, error)
- type DocInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDoc ¶
func CreateDoc(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, name string, content []byte) (string, string, error)
CreateDoc creates (or uploads) a new document with the given name and content into the specified directory (dir) in the user's OneDrive.
func GetDoc ¶
func GetDoc(ctx context.Context, c *msgraphsdkgo.GraphServiceClient, docID string) (string, error)
func GetDocByPath ¶
func GetDocByPath(ctx context.Context, c *msgraphsdkgo.GraphServiceClient, path string) (string, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.