按照项目github文档上所示,在使用 mysql 时你可能会这样写: $ migrate -path db/migrations -database mysql://root:123456@127.0.0.1:3306/mydb version -database 用于指定数据库 DSN 格式的连 ...
分类:
Web程序 时间:
2021-01-05 11:13:09
阅读次数:
0
话不多说,直接开干。 1.添加一个热部署的依赖到你项目的pom.xml中 <!--热部署--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> ...
分类:
编程语言 时间:
2021-01-05 11:00:04
阅读次数:
0
1.定义消息类型 package Common const ( LoginMesType = "LoginMes" LoginResType = "LoginResMes" ) type Message struct { Type string `json:"type"` //消息类型 Data s ...
分类:
其他好文 时间:
2021-01-05 10:59:42
阅读次数:
0
1.概述 基本说明 官网 上一代网关 zuul https://github.com/Netflix/zuul/wiki 当前gateway https://cloud.spring.io/spring-cloud-static/spring-cloud-gateway/2.2.1.RELEASE/ ...
分类:
编程语言 时间:
2021-01-05 10:55:55
阅读次数:
0
RabbitMQ是流行的开源消息队列系统,用erlang语言开发。RabbitMQ是AMQP(高级消息队列协议)的标准实现。如果不熟悉AMQP,直接看RabbitMQ的文档会比较困难。不过它也只有几个关键概念,这里简单介绍。 RabbitMQ的结构图如下: 几个概念说明: Broker:简单来说就是 ...
分类:
编程语言 时间:
2021-01-05 10:41:54
阅读次数:
0
1.概述 OpenFeign是什么 Feign是一个声明式的web服务客户端,让编写web服务客户端变得容易,只需创建一个接口并在接口上添加注解即可 https://github.com/spring-cloud/spring-cloud-openfeign 能干嘛 Feign和OpenFeign两 ...
分类:
编程语言 时间:
2021-01-05 10:40:40
阅读次数:
0
There are many ways to load text data file into the database. In general, we would use applications that database service providers' product. For exam ...
分类:
其他好文 时间:
2021-01-05 10:36:37
阅读次数:
0
页面: 1 @using (Html.BeginForm("Update", "Controller", FormMethod.Post, 2 new { id = "Form", enctype = "multipart/form-data" })) 3 { 4 5 <div class="mod ...
分类:
数据库 时间:
2021-01-04 11:33:54
阅读次数:
0
#!/bin/bash data=`date '+%Y-%m-%d-%H-%M'` a=(`kubectl get deployments --all-namespaces |awk '{print $1}'| grep -v NAME`) ## 获取域名空间(NAMESPACE) b=(`kube ...
分类:
其他好文 时间:
2021-01-04 11:32:43
阅读次数:
0
1.是否需要降维? Dimensionality reduction we normally use it to visualize our data and to find hidden information we don't normally see. Also, it is use for ...
分类:
其他好文 时间:
2021-01-04 11:30:05
阅读次数:
0