提交 22d00b5c 编写于 作者: E Eric Seidel

Update README per recommendations from Seth:

https://github.com/domokit/sky_sdk/pull/2
https://github.com/domokit/sky_sdk/pull/3

R=sethladd@google.com, ianh@google.com

Review URL: https://codereview.chromium.org/1091613002
上级 c8d918ef
......@@ -64,10 +64,9 @@ ergonomic interface:
```dart
import 'package:sky/framework/net/fetch.dart';
void main() {
fetch('example.txt').then((Response response) {
print(response.bodyAsString());
});
main() async {
var response = await fetch('example.txt');
print(response.bodyAsString());
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册