@ycmjason/

LightgrayUnknownNumber

Go

No description

fork
loading
Files
  • main.go
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package main

import (
  "fmt"
  "os"
)

func main() {
  x, err := f()
  if err != nil {
    os.Exit(1)
  }
  fmt.Println(x)
  y, err := f()
  fmt.Println(y)
}

func f() (int, error) {
  return 3, nil
}