ICode9

精准搜索请尝试: 精确搜索
  • 21天从Java转向Go之第八天——水滴石穿(接口)2021-12-01 09:33:58

    接口 一个接口类型定义了一套方法,如果一个具体类型要实现该接口,那么必须实现接口类型定义中的所有方法。 接口声明 接口字面量语法 interface {   MethodSignature1   MethodSignature2 } 接口命名类型使用Type type InterfaceName interface{   MethodSignat

  • 21天从Java转向Go之第四天——水滴石穿(基本数据)2021-11-27 13:33:21

    Go语言中的数据类型 基础类型 聚合类型 引用类型 接口类型 基础类型 数字 整数 有符号整数 -- int8 int16 int32 int64 int 无符号整数 -- uint8 uint16 uint32 uint64 uint int uint 位数取决于编译器32位或64位 byte类型 同unit8类型 rune类型 同int

  • 绳锯木断,水滴石穿2021-09-01 21:35:01

    2021年9月1日: 今天刚开学的第一个晚上,大家都跑去玩了,而我还在上晚自习! (1):class的几种使用方法 三元表达式  :class="[ isTrue?'class1':'class2' ]"    数组形式  :class="{'class1':true,'class2':false}"   类名可不加引号“ '' ” 如有连接符号可使用小驼峰命名,

  • 【水滴石穿】rnTest2019-05-24 11:42:07

    其实就是一个小的demo,不过代码分的挺精巧的 先放地址:https://github.com/linchengzzz/rnTest 来看看效果 确实没有什么可以说的,不过代码部分还行 先入口文件 //index.js /** @format */ import {AppRegistry} from 'react-native'; import App from './src/App'; import {name

  • 【水滴石穿】RNNewsGo2019-05-17 15:52:21

    项目地址为:https://github.com/ImVeryGood/RNNewsGo 我们先来看一下页面 分析了一下项目,项目也是有用到redux-saga的 然后模块比较清晰 接下来我们分析代码 //index.js /** * @format */ import { AppRegistry } from "react-native"; import App from "./App"; import { name a

  • 【水滴石穿】RNTest2019-05-17 10:38:14

    项目地址为:https://github.com/StarkCoder/RNTest 首先我们来分析代码 跟平时不同的是,这个代码运行直接到的是HomePage页面 //index.js代码如下 /** * @format */ import {AppRegistry} from 'react-native'; import App from './App'; import HomePage from './app/views/home

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有