package cn.stylefeng.guns;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@Slf4j
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"cn.stylefeng"})
@SpringBootApplication(
        scanBasePackages = {"cn.stylefeng"},
        exclude = {
                FlywayAutoConfiguration.class
        }
)
public class ProjectStartApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProjectStartApplication.class, args);
        log.info(ProjectStartApplication.class.getSimpleName() + " is success!");
    }

}

