Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
writeas
/
go-writeas
espelho de
https://github.com/writeas/go-writeas.git
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Lançamentos
9
Trabalho
Ver a proveniência
Add expected output on examples
pull/6/head
Matt Baer
há 6 anos
ascendente
b2c6f21081
cometimento
fbe1c5830b
2 ficheiros alterados
com
4 adições
e
2 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+2
-1
collection_test.go
+2
-1
post_test.go
+ 2
- 1
collection_test.go
Ver ficheiro
@@ -39,5 +39,6 @@ func ExampleClient_GetCollection() {
fmt.Printf("%v", err)
return
}
fmt.Printf("%+v", coll)
fmt.Printf("%s", coll.Title)
// Output: write.as
}
+ 2
- 1
post_test.go
Ver ficheiro
@@ -87,5 +87,6 @@ func ExampleClient_CreatePost() {
return
}
fmt.Printf("%+v", p)
fmt.Printf("%s", p.Content)
// Output: This is a post.
}
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar