码迷,mamicode.com
首页 >  
搜索关键字:object is not a func    ( 52127个结果
go gin Next()方法
package main import ( "fmt" "github.com/gin-gonic/gin" "net/http" ) func main() { r := gin.Default() m1 := func(c *gin.Context) { fmt.Println("m1 star ...
分类:其他好文   时间:2021-03-26 15:28:25    阅读次数:0
使用js手动实现bind、call、apply功能
Function.prototype.mycall = function () { const [first, ...rest] = arguments; const ctx = first || window; ctx.func = this; const ret = ctx.func(...re ...
分类:移动开发   时间:2021-03-26 15:24:30    阅读次数:0
文件点击下载
// 文件点击下载 function downloadFile() { fetch(tossactApi + params.row.originVideo).then(res => res.blob()).then(blob => { const a = document.createElement ...
分类:其他好文   时间:2021-03-26 15:14:30    阅读次数:0
Java泛型
泛型 1.为什么要使用泛型 集合容器类在设计阶段/声明阶段不能确定这个容器实际上存放的是什么类型的数据,在jdk5.0之前只能设计为Object类型,在jdk5,0之后使用泛型来解决。因为这个时候除了元素的类型是不确定的,其他部分是确定的,比如如何保存、如何管理等。因此此时把元素的类型设计为一个参数 ...
分类:编程语言   时间:2021-03-18 14:34:45    阅读次数:0
GO redis
package main import ( "fmt" "github.com/go-redis/redis" ) func main() { client := redis.NewClient(&redis.Options{ Addr: "127.0.0.1:6380", Password: "" ...
分类:其他好文   时间:2021-03-18 14:25:19    阅读次数:0
python简单的time ticker
在某些时候,我们需要精确的启动一个func,如果用time.sleep简单的轮询,会因为执行的任务阻塞,或者其他原因导致无法精确的定时执行。 例如在采集某些数据的时候,需要精确的每60秒采集一次,如果直接简单的轮询:{1:计时1,2:采集,3:计时2,4:sleep(60-计时2-计时1)},正常的 ...
分类:编程语言   时间:2021-03-18 14:22:51    阅读次数:0
ORM程序设计
ORM程序设计--(在一定程度上可取代JDBC) 什么是ORM ORM是Object(对象)+Relationla(关系)+Mapping(映射)的简称。ORM是一种描述对象与映射之间存放关系的一种框架,既通过对象与数据库之间映射的数据,将对象长期且持久的放到数据库里。 它的作用是在关系型数据库和对 ...
分类:其他好文   时间:2021-03-18 14:11:51    阅读次数:0
C# List去重DistinctBy扩展
list 去重扩展: public static IEnumerable<TSource> DistinctBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) { HashSet<T ...
分类:Windows程序   时间:2021-03-17 15:08:29    阅读次数:0
arcgis sample代码之SOE示例代码PageLayout REST Server Object Extension的源码分析(Java)
为什么10.2里面没有pagelayout的代码了。。 原文:https://www.cnblogs.com/ayanmw/archive/2012/06/06/2538783.html ...
分类:编程语言   时间:2021-03-17 14:46:16    阅读次数:0
Vue3 中指令参数支持动态参数
在Vue3 的 RFCs文档中,Vue3中指令参数将支持动态参数。 基础示例 <div v-bind:[key]="value"></div> <div v-on:[event]="handler"></div> <div v-slot:[slotName]="slotProps"></div> 为 ...
分类:其他好文   时间:2021-03-17 14:44:15    阅读次数:0
52127条   上一页 1 ... 41 42 43 44 45 ... 5213 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!