Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
writeas
/
go-writeas
réplica de
https://github.com/writeas/go-writeas.git
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
9
Actividad
Explorar el Código
Add expected output on examples
pull/6/head
Matt Baer
hace 6 años
padre
b2c6f21081
commit
fbe1c5830b
Se han
modificado 2 ficheros
con
4 adiciones
y
2 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+2
-1
collection_test.go
+2
-1
post_test.go
+ 2
- 1
collection_test.go
Ver fichero
@@ -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 fichero
@@ -87,5 +87,6 @@ func ExampleClient_CreatePost() {
return
}
fmt.Printf("%+v", p)
fmt.Printf("%s", p.Content)
// Output: This is a post.
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar