#include "idl_gen_go.h"
#include <algorithm>
#include <cmath>
#include <sstream>
#include <string>
#include "flatbuffers/base.h"
#include "flatbuffers/code_generators.h"
#include "flatbuffers/flatbuffers.h"
#include "flatbuffers/idl.h"
#include "flatbuffers/util.h"
#include "idl_namer.h"
#ifdef _WIN32
# include <direct.h>
#define PATH_SEPARATOR …
#define mkdir …
#else
# include <sys/stat.h>
#define PATH_SEPARATOR …
#endif
namespace flatbuffers {
namespace go {
namespace {
static std::set<std::string> GoKeywords() { … }
static Namer::Config GoDefaultConfig() { … }
}
class GoGenerator : public BaseGenerator { … };
}
static bool GenerateGo(const Parser &parser, const std::string &path,
const std::string &file_name) { … }
namespace {
class GoCodeGenerator : public CodeGenerator { … };
}
std::unique_ptr<CodeGenerator> NewGoCodeGenerator() { … }
}