gocordstorage

package module
v0.0.0-...-fcfbf49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 7 Imported by: 0

README

gocord-storage

A Go implementation of jscord-storage

Installation

go get github.com/ghostbusterjeffrey/gocord-storage

Usage Example
package main

import (
  "fmt"
  "github.com/ghostbusterjeffrey/gocord-storage"
)

func main() {
  res, _ := gocordstorage.Upload("uploaded_file.txt","./file.txt")
  fmt.Printf("%s\n", res)
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Upload

func Upload(filename string, fileURLOrPath string) (*response, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL