Skip to content

Commit 39b6ec8

Browse files
vilmibmvilmibm
authored andcommitted
share gist getting
1 parent b6502de commit 39b6ec8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package view
1+
package shared
22

33
import (
44
"fmt"
@@ -19,7 +19,7 @@ type Gist struct {
1919
Files map[string]GistFile
2020
}
2121

22-
func getGist(client *http.Client, hostname, gistID string) (*Gist, error) {
22+
func GetGist(client *http.Client, hostname, gistID string) (*Gist, error) {
2323
gist := Gist{}
2424
path := fmt.Sprintf("gists/%s", gistID)
2525

0 commit comments

Comments
 (0)