Skip to content

Instantly share code, notes, and snippets.

@sumitasok
Created November 28, 2018 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sumitasok/54139889cf3430ec7ef2e82398c4dccd to your computer and use it in GitHub Desktop.
Save sumitasok/54139889cf3430ec7ef2e82398c4dccd to your computer and use it in GitHub Desktop.
Golang Test snippet
package models_test
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestMeta_ToJson(t *testing.T) {
assert := assert.New(t)
assert.True(true)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment